fixed path of mysql/errmsg.h (OSX compilation fix)
[NeonServV5.git] / src / mysqlConn.h
index 0cd3830c5623f09d74a91dbd014b8c5188eb2d4c..660e2cb32c2c74f8c5ef817d9af97f19f71dcc6d 100644 (file)
 
 #include "main.h"
 #include <mysql.h>
+#ifdef HAVE_MYSQL_ERRMSG_H
 #include <mysql/errmsg.h>
+#elif defined(HAVE_ERRMSG_H)
+#include <errmsg.h>
+#endif
 
 #define MYSQLMAXLEN 1024