diff --git a/mysql/inc/TMySQLStatement.h b/mysql/inc/TMySQLStatement.h
index a5f6d9e34adde9f8ac24d05d9d537a8b5d9d9278..7a730819cd7ec3ad17343460bf6edcb1133fdfee 100644
--- a/mysql/inc/TMySQLStatement.h
+++ b/mysql/inc/TMySQLStatement.h
@@ -1,4 +1,4 @@
-// @(#)root/mysql:$Name:  $:$Id: TMySQLStatement.h,v 1.1 2006/02/6 10:00:44 rdm Exp $
+// @(#)root/mysql:$Name:  $:$Id: TMySQLStatement.h,v 1.1 2006/04/12 20:53:45 rdm Exp $
 // Author: Sergey Linev   6/02/2006
 
 /*************************************************************************
@@ -17,11 +17,14 @@
 #endif
 
 #if !defined(__CINT__)
+#ifndef R__WIN32
+#include <sys/time.h>
+#endif
 #include <mysql.h>
 #else
-typedef int MYSQL_STMT;
-typedef int MYSQL_BIND;
-typedef bool my_bool;
+struct MYSQL_STMT;
+struct MYSQL_BIND;
+typedef char my_bool;
 #endif
 
 class TMySQLStatement : public TSQLStatement {