summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authortnurnberg@sin.intern.azundris.com <>2007-08-01 04:56:58 +0200
committertnurnberg@sin.intern.azundris.com <>2007-08-01 04:56:58 +0200
commit8dd4751be9acbb7dcfb19a5346f21f6e70ebf53f (patch)
tree23bd452937d47837b1c579fcd562a7ca6c208617 /include/mysql.h
parent4a52b5c88547a01f33b2566d4503f6eef7f082bc (diff)
downloadmariadb-git-8dd4751be9acbb7dcfb19a5346f21f6e70ebf53f.tar.gz
Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2
mysqld hasn't been built on AIX with ndb-everything in quite a while. this allowed a variety of changes to be added that broke the AIX build for both the GNU and IBM compilers (but the IBM suite in particular). Changeset lets build to complete on AIX 5.2 for users of the GNU and the IBM suite both. Tudo bem?
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index a153d0b51db..b3e0dc45496 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -27,6 +27,10 @@
#ifndef _mysql_h
#define _mysql_h
+#ifdef _AIX /* large-file support will break without this */
+#include <standards.h>
+#endif
+
#ifdef __CYGWIN__ /* CYGWIN implements a UNIX API */
#undef WIN
#undef _WIN