fixed OSX build
[NeonServV5.git] / src / mysqlConn.h
index 0cd3830c5623f09d74a91dbd014b8c5188eb2d4c..e0ebfc781dbe2637ad28fc085beb425d01c369ea 100644 (file)
@@ -19,7 +19,9 @@
 
 #include "main.h"
 #include <mysql.h>
+#ifdef HAVE_MYSQL_ERRMSG_H
 #include <mysql/errmsg.h>
+#endif
 
 #define MYSQLMAXLEN 1024