Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found.
[samba.git] / source3 / include / includes.h
index 46bb4d9e5c9f90af145c65338165442a40f706bf..0d2561f6bcb0128e0caa422805cc67dda258592e 100644 (file)
 
 #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