summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-02 16:43:27 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-02 16:43:27 +0000
commit81f866db3ab86a27dc93148676da6c96b6e56cbf (patch)
tree3e398e77120f3a73e5d069f6accedb5abae80668 /source3/include
parent236cea4efa18094c3445bee310195ac12b6073ee (diff)
downloadsamba-81f866db3ab86a27dc93148676da6c96b6e56cbf.tar.gz
samba-81f866db3ab86a27dc93148676da6c96b6e56cbf.tar.bz2
samba-81f866db3ab86a27dc93148676da6c96b6e56cbf.zip
added <mysql.h> autoconf test.
(This used to be commit 511ef8a58ccfc04d0744f28753bb48d848851980)
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