fixed path of mysql/errmsg.h (OSX compilation fix)
[NeonServV5.git] / src / mysqlConn.h
index 410f346fbf4ee164055c5bc4c53f7eb940e74e35..660e2cb32c2c74f8c5ef817d9af97f19f71dcc6d 100644 (file)
@@ -1,4 +1,4 @@
-/* mysqlConn.h - NeonServ v5.3
+/* mysqlConn.h - NeonServ v5.6
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
 
 #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