From a24d4f6cf2deec6703ff98c2adddc3d0f96a2e2e Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Wed, 12 Apr 2006 21:42:37 +0000
Subject: [PATCH] correct forward declartions of MySQL types for rootcint.

git-svn-id: http://root.cern.ch/svn/root/trunk@14679 27541ba8-7e3a-0410-8455-c3a389f83636
---
 mysql/inc/TMySQLStatement.h | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/mysql/inc/TMySQLStatement.h b/mysql/inc/TMySQLStatement.h
index a5f6d9e34ad..7a730819cd7 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 {
-- 
GitLab