summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c5
-rw-r--r--src/char_sql/int_guild.c4
-rw-r--r--src/char_sql/int_party.c6
3 files changed, 9 insertions, 6 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 0333798d1..3ff9adb05 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -21,17 +21,18 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#include <limits.h>
-#include "char.h"
+#include "../common/cbasetypes.h"
#include "../common/utils.h"
#include "../common/strlib.h"
#include "../common/showmsg.h"
+
#include "itemdb.h"
#include "inter.h"
#include "db.h"
#include "malloc.h"
#include "int_guild.h"
+#include "char.h"
#ifndef TXT_SQL_CONVERT
static struct dbt *char_db_;
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index 9132f9ec2..8ef59b62b 100644
--- a/src/char_sql/int_guild.c
+++ b/src/char_sql/int_guild.c
@@ -7,9 +7,8 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#include <limits.h>
-#include "char.h"
+#include "../common/cbasetypes.h"
#include "../common/strlib.h"
#include "../common/showmsg.h"
// #include "int_storage.h"
@@ -19,6 +18,7 @@
#include "socket.h"
#include "db.h"
#include "malloc.h"
+#include "char.h"
#define GS_MEMBER_UNMODIFIED 0x00
#define GS_MEMBER_MODIFIED 0x01
diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c
index e39c826d4..025c14e31 100644
--- a/src/char_sql/int_party.c
+++ b/src/char_sql/int_party.c
@@ -7,13 +7,15 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <limits.h>
-#include "char.h"
+
+#include "../common/cbasetypes.h"
#include "../common/db.h"
#include "../common/strlib.h"
#include "../common/socket.h"
#include "../common/showmsg.h"
+#include "char.h"
+
#ifndef TXT_SQL_CONVERT
struct party_data {
struct party party;