fixed path of mysql/errmsg.h (OSX compilation fix)
[NeonServV5.git] / src / mysqlConn.h
index 501147a9554fdc429161d3d0fe098f5298ba8b48..660e2cb32c2c74f8c5ef817d9af97f19f71dcc6d 100644 (file)
@@ -1,4 +1,4 @@
-/* mysqlConn.h - NeonServ v5.5
+/* 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