summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-06 12:11:50 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-06 12:11:50 +0000
commit250672ef201106afb563a2e3bbd79a4ab98d13cc (patch)
tree7501da76a93047c2dfb79bcb338c9379e4abb15a /src/char_sql/char.c
parentf044795aa8967ff4d99c3579553474d6bab4bf90 (diff)
downloadhercules-250672ef201106afb563a2e3bbd79a4ab98d13cc.tar.gz
hercules-250672ef201106afb563a2e3bbd79a4ab98d13cc.tar.bz2
hercules-250672ef201106afb563a2e3bbd79a4ab98d13cc.tar.xz
hercules-250672ef201106afb563a2e3bbd79a4ab98d13cc.zip
- Now winsock 2 is required.
- Cleaned up do_close and socket_init a bit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9621 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index cd1983c73..4851fbaca 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -7,7 +7,7 @@
#include <sys/types.h>
#ifdef _WIN32
-#include <winsock.h>
+#include <winsock2.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>