summaryrefslogtreecommitdiff
path: root/package/mysql/patches/patch-include_mysql_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-15 12:35:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-15 12:35:48 +0200
commit7c38c7a7843d881837f000b9465bd59a0e918f7f (patch)
tree738c19bacd1c0dd4f939298ceaf59013a76dc6f6 /package/mysql/patches/patch-include_mysql_h
parentcad729cef7e4226eb09ca510546776ac4e8b551d (diff)
parent7838fca0479a0d4affcb245ec042ead7ae1d7b3b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mysql/patches/patch-include_mysql_h')
-rw-r--r--package/mysql/patches/patch-include_mysql_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mysql/patches/patch-include_mysql_h b/package/mysql/patches/patch-include_mysql_h
new file mode 100644
index 000000000..3d97d4a0a
--- /dev/null
+++ b/package/mysql/patches/patch-include_mysql_h
@@ -0,0 +1,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