projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added mysql config file and some initial database installation / upgrade methods
[NeonServV5.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index b1452e76338b6049c5eded500dcbfd4918fef003..dccf2ee38b0d055ee9b55c5f01a2391ad597c997 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-3,7
+3,6
@@
#define NEONSERV_VERSION "5.0.1-dev"
#define NEONSERV_VERSION "5.0.1-dev"
-#include "../mysqlConfig.h"
#ifndef BOTWAR_ALERT_CHAN
#define BOTWAR_ALERT_CHAN NULL
#endif
#ifndef BOTWAR_ALERT_CHAN
#define BOTWAR_ALERT_CHAN NULL
#endif
@@
-12,12
+11,17
@@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#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 <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <unistd.h>
#include <netdb.h>
#include <netdb.h>
+#endif
+#include <unistd.h>
#include <stdarg.h>
#include <time.h>
#include <stdarg.h>
#include <time.h>