summaryrefslogtreecommitdiff
path: root/dbd/apr_dbd_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbd/apr_dbd_mysql.c')
-rw-r--r--dbd/apr_dbd_mysql.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/dbd/apr_dbd_mysql.c b/dbd/apr_dbd_mysql.c
index ec1d4e23..77fa5fb7 100644
--- a/dbd/apr_dbd_mysql.c
+++ b/dbd/apr_dbd_mysql.c
@@ -25,6 +25,16 @@
#include <ctype.h>
#include <stdlib.h>
+#ifdef HAVE_MY_GLOBAL_H
+#include <my_global.h>
+#elif defined(HAVE_MYSQL_MY_GLOBAL_H)
+#include <mysql/my_global.h>
+#endif
+#ifdef HAVE_MY_SYS_H
+#include <my_sys.h>
+#elif defined(HAVE_MYSQL_MY_SYS_H)
+#include <mysql/my_sys.h>
+#endif
#ifdef HAVE_MYSQL_H
#include <mysql.h>
#include <errmsg.h>