From 37a7546e284e9f330b137178d6c4646842bde97f Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 7 Feb 2007 19:34:54 +0000 Subject: 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 --- src/char_sql/int_homun.c | 1 + src/char_sql/int_party.c | 1 + src/char_sql/int_pet.c | 1 + src/char_sql/int_storage.c | 2 ++ src/char_sql/inter.c | 2 ++ src/char_sql/itemdb.c | 1 + 6 files changed, 8 insertions(+) (limited to 'src/char_sql') diff --git a/src/char_sql/int_homun.c b/src/char_sql/int_homun.c index 6fce092ac..22edad8d0 100644 --- a/src/char_sql/int_homun.c +++ b/src/char_sql/int_homun.c @@ -6,6 +6,7 @@ #include #include "char.h" +#include "../common/malloc.h" #include "../common/strlib.h" #include "../common/showmsg.h" diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c index 8553862fe..72e98f323 100644 --- a/src/char_sql/int_party.c +++ b/src/char_sql/int_party.c @@ -10,6 +10,7 @@ #include "../common/cbasetypes.h" #include "../common/db.h" +#include "../common/malloc.h" #include "../common/strlib.h" #include "../common/socket.h" #include "../common/showmsg.h" diff --git a/src/char_sql/int_pet.c b/src/char_sql/int_pet.c index 1b87de654..099b02aaa 100644 --- a/src/char_sql/int_pet.c +++ b/src/char_sql/int_pet.c @@ -9,6 +9,7 @@ #include #include "char.h" +#include "../common/malloc.h" #include "../common/strlib.h" #include "../common/showmsg.h" diff --git a/src/char_sql/int_storage.c b/src/char_sql/int_storage.c index 5ca2c25bb..72b56e5ef 100644 --- a/src/char_sql/int_storage.c +++ b/src/char_sql/int_storage.c @@ -4,11 +4,13 @@ // original code from athena // SQL conversion by Jioh L. Jung +#include #include #include #include "char.h" #include "itemdb.h" +#include "../common/malloc.h" #include "../common/showmsg.h" #define STORAGE_MEMINC 16 diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c index 03ab85773..326bd2ca1 100644 --- a/src/char_sql/inter.c +++ b/src/char_sql/inter.c @@ -4,10 +4,12 @@ // original code from athena // SQL conversion by Jioh L. Jung +#include #include #include #include "char.h" +#include "../common/malloc.h" #include "../common/strlib.h" #include "../common/showmsg.h" #include "inter.h" diff --git a/src/char_sql/itemdb.c b/src/char_sql/itemdb.c index 3943c082d..5feea2492 100644 --- a/src/char_sql/itemdb.c +++ b/src/char_sql/itemdb.c @@ -10,6 +10,7 @@ #include "inter.h" #include "char.h" #include "utils.h" +#include "../common/malloc.h" #include "../common/showmsg.h" #define MAX_RANDITEM 2000 -- cgit v1.2.3-70-g09d2