Fix perfschema unittests build on Windows

pthread_t is not defined unless my_pthread.h is included.
This commit is contained in:
Vladislav Vaintroub 2010-04-13 13:48:46 +02:00
parent 5af5bb2da6
commit 04b601a7fe
5 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>