diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/socket.h | 1 | ||||
-rw-r--r-- | src/map/map.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/common/socket.h b/src/common/socket.h index 6793cfdb5..37d41203e 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -7,7 +7,6 @@ #ifdef __WIN32 #include <winsock.h> -#define close(fd) closesocket(fd) #else #include <sys/types.h> #include <sys/socket.h> diff --git a/src/map/map.h b/src/map/map.h index 81d1b8cbc..68a2f1d4d 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -816,6 +816,8 @@ extern char *GRF_PATH_FILENAME; #ifndef TXT_ONLY // MySQL +#include <my_global.h> +#include <my_sys.h> #include <mysql.h> void char_online_check(void); // [Valaris] |