Fix perfschema unittests build on Windows
pthread_t is not defined unless my_pthread.h is included.
This commit is contained in:
parent
5af5bb2da6
commit
04b601a7fe
@ -13,6 +13,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#include <my_pthread.h>
|
||||
#include <sql_priv.h>
|
||||
#include <my_global.h>
|
||||
#include <pfs_server.h>
|
||||
|
@ -13,6 +13,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#include <my_pthread.h>
|
||||
#include <sql_priv.h>
|
||||
#include <my_global.h>
|
||||
#include <pfs_instr.h>
|
||||
|
@ -13,6 +13,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#include <my_pthread.h>
|
||||
#include <sql_priv.h>
|
||||
#include <my_global.h>
|
||||
#include <pfs_instr.h>
|
||||
|
@ -13,6 +13,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#include <my_pthread.h>
|
||||
#include <sql_priv.h>
|
||||
#include <my_global.h>
|
||||
#include <pfs_instr_class.h>
|
||||
|
@ -13,8 +13,10 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#include <sql_priv.h>
|
||||
#include <my_pthread.h>
|
||||
#include <my_global.h>
|
||||
#include <sql_priv.h>
|
||||
|
||||
#include <string.h> // strncpy
|
||||
#include <pfs_instr_class.h>
|
||||
#include <pfs_instr.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user