summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-07 19:34:54 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-07 19:34:54 +0000
commit37a7546e284e9f330b137178d6c4646842bde97f (patch)
tree80411355ed9c54266a8cd0c43d67ad8edda579f3 /src/char
parent15d86669fb2fcedefa83d76cfe8b4bf3f110d481 (diff)
downloadhercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.gz
hercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.bz2
hercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.xz
hercules-37a7546e284e9f330b137178d6c4646842bde97f.zip
Cleaning up of the socket code
- Shuffled includes around for files that were leeching off of socket.h - Added code that enforces standard shutdown behavior for sockets git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9817 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r--src/char/int_guild.c1
-rw-r--r--src/char/int_homun.c1
-rw-r--r--src/char/int_party.c1
-rw-r--r--src/char/int_pet.c1
-rw-r--r--src/char/int_storage.c2
-rw-r--r--src/char/inter.c1
6 files changed, 7 insertions, 0 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index daa80e6d6..6886287e2 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -7,6 +7,7 @@
#include "../common/cbasetypes.h"
#include "../common/mmo.h"
+#include "../common/malloc.h"
#include "../common/socket.h"
#include "../common/db.h"
#include "../common/lock.h"
diff --git a/src/char/int_homun.c b/src/char/int_homun.c
index 6d93a375a..943f5b8c8 100644
--- a/src/char/int_homun.c
+++ b/src/char/int_homun.c
@@ -6,6 +6,7 @@
#include <string.h>
#include "../common/mmo.h"
+#include "../common/malloc.h"
#include "../common/socket.h"
#include "../common/db.h"
#include "../common/lock.h"
diff --git a/src/char/int_party.c b/src/char/int_party.c
index 96a120aab..0612afb0b 100644
--- a/src/char/int_party.c
+++ b/src/char/int_party.c
@@ -7,6 +7,7 @@
#include "../common/cbasetypes.h"
#include "../common/mmo.h"
+#include "../common/malloc.h"
#include "../common/socket.h"
#include "../common/db.h"
#include "../common/lock.h"
diff --git a/src/char/int_pet.c b/src/char/int_pet.c
index d1448c5a1..c49150a9c 100644
--- a/src/char/int_pet.c
+++ b/src/char/int_pet.c
@@ -6,6 +6,7 @@
#include <string.h>
#include "../common/mmo.h"
+#include "../common/malloc.h"
#include "../common/socket.h"
#include "../common/db.h"
#include "../common/lock.h"
diff --git a/src/char/int_storage.c b/src/char/int_storage.c
index 5f1f68275..e19268508 100644
--- a/src/char/int_storage.c
+++ b/src/char/int_storage.c
@@ -1,10 +1,12 @@
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
+#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "../common/mmo.h"
+#include "../common/malloc.h"
#include "../common/socket.h"
#include "../common/db.h"
#include "../common/lock.h"
diff --git a/src/char/inter.c b/src/char/inter.c
index e5e397709..a42202971 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -1,6 +1,7 @@
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
+#include <stdio.h>
#include <string.h>
#include <stdlib.h>