summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-08 18:41:58 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-08 18:41:58 +0000
commit26c08067f0b3a1dc8b8304eeba27879ed586e3b0 (patch)
tree92c07e57636d21e6ac6a8dd5831eb13008e78f55 /source3/include/includes.h
parent3e99124f210185485335c47c9fd644acabce27cc (diff)
downloadsamba-26c08067f0b3a1dc8b8304eeba27879ed586e3b0.tar.gz
samba-26c08067f0b3a1dc8b8304eeba27879ed586e3b0.tar.bz2
samba-26c08067f0b3a1dc8b8304eeba27879ed586e3b0.zip
Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found.
(This used to be commit 188d9a75edb41e8a0cc0ea6e17c9497771cf3b96)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 46bb4d9e5c..0d2561f6bc 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -332,6 +332,10 @@
#if defined(HAVE_MYSQL_H)
#include <mysql.h>
+#else
+/* needed to get make proto to work with no <mysql.h> */
+#define MYSQL void
+#define MYSQL_ROW void
#endif
#ifndef uchar