added mysql config file and some initial database installation / upgrade methods
[NeonServV5.git] / src / main.h
index b1452e76338b6049c5eded500dcbfd4918fef003..dccf2ee38b0d055ee9b55c5f01a2391ad597c997 100644 (file)
@@ -3,7 +3,6 @@
 
 #define NEONSERV_VERSION "5.0.1-dev"
 
-#include "../mysqlConfig.h"
 #ifndef BOTWAR_ALERT_CHAN
 #define BOTWAR_ALERT_CHAN NULL
 #endif
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
+#ifdef WIN32
+#include <windows.h>
+#include <winsock2.h>
+#else
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <unistd.h>
 #include <netdb.h>
+#endif
+#include <unistd.h>
 #include <stdarg.h>
 #include <time.h>