summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in3
-rw-r--r--source3/include/includes.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 44e7b08377..f2dcdd7765 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -786,6 +786,9 @@
/* Define if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
+/* Define if you have the <mysql.h> header file. */
+#undef HAVE_MYSQL_H
+
/* Define if you have the dl library (-ldl). */
#undef HAVE_LIBDL
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 74aabc0b1f..46bb4d9e5c 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -330,6 +330,10 @@
#endif
#endif /* HAVE_NETGROUP */
+#if defined(HAVE_MYSQL_H)
+#include <mysql.h>
+#endif
+
#ifndef uchar
#define uchar unsigned char
#endif