summaryrefslogtreecommitdiff
path: root/package/mysql/patches/patch-include_mysql_h
blob: 3d97d4a0a9f1e68bbeed514e966db3964b783c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- mysql-5.1.48.orig/include/mysql.h	2010-06-03 17:50:21.000000000 +0200
+++ mysql-5.1.48/include/mysql.h	2010-07-13 12:29:46.006089563 +0200
@@ -44,7 +44,9 @@ extern "C" {
 #endif
 
 #ifndef _global_h				/* If not standard header */
+#ifndef MYSQL_ABI_CHECK
 #include <sys/types.h>
+#endif
 #ifdef __LCC__
 #include <winsock2.h>				/* For windows */
 #endif