summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/drivers/mySQL/mysqlconnection_p.h')
-rw-r--r--kexi/kexidb/drivers/mySQL/mysqlconnection_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h b/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h
index 85d8c57b..9b1ad402 100644
--- a/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h
+++ b/kexi/kexidb/drivers/mySQL/mysqlconnection_p.h
@@ -20,6 +20,10 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
#ifndef KEXIDB_MYSQLCLIENT_P_H
#define KEXIDB_MYSQLCLIENT_P_H
+#if defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
+
#include <kexidb/connection_p.h>
#ifdef TQ_WS_WIN
@@ -28,7 +32,7 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
#include <mysql_version.h>
#include <mysql.h>
-typedef struct st_mysql MYSQL;
+typedef struct MYSQL_STRUCT MYSQL;
#undef bool
class TQCString;