summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-31 04:02:06 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-31 04:02:06 +0000
commit46d4b13630a44f86a92b7269c46661947af6b659 (patch)
tree4746e11681780facb2c6083c9231dfdf977d0fe5 /src
parent382ce9ad80de448431c1490185f02b123e1cd08f (diff)
downloadhercules-46d4b13630a44f86a92b7269c46661947af6b659.tar.gz
hercules-46d4b13630a44f86a92b7269c46661947af6b659.tar.bz2
hercules-46d4b13630a44f86a92b7269c46661947af6b659.tar.xz
hercules-46d4b13630a44f86a92b7269c46661947af6b659.zip
Finished native SQL projects [MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1351 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/common/socket.h1
-rw-r--r--src/map/map.h2
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]