fixed path of mysql/errmsg.h (OSX compilation fix)
[NeonServV5.git] / src / mysqlConn.h
index e0ebfc781dbe2637ad28fc085beb425d01c369ea..660e2cb32c2c74f8c5ef817d9af97f19f71dcc6d 100644 (file)
@@ -21,6 +21,8 @@
 #include <mysql.h>
 #ifdef HAVE_MYSQL_ERRMSG_H
 #include <mysql/errmsg.h>
+#elif defined(HAVE_ERRMSG_H)
+#include <errmsg.h>
 #endif
 
 #define MYSQLMAXLEN 1024