summaryrefslogtreecommitdiff
path: root/src/echar
diff options
context:
space:
mode:
Diffstat (limited to 'src/echar')
-rw-r--r--src/echar/char.c3
-rw-r--r--src/echar/init.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/echar/char.c b/src/echar/char.c
index 965fd35..205f703 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -13,6 +13,7 @@
#include "common/mmo.h"
#include "common/socket.h"
#include "common/strlib.h"
+#include "common/sql.h"
#include "common/timer.h"
#include "char/char.h"
#include "char/inter.h"
@@ -225,7 +226,7 @@ void send_additional_slots(int fd, struct char_session_data* sd)
if (!sd || sd->version < 9)
return;
- SqlStmt* stmt = SQL->StmtMalloc(inter->sql_handle);
+ struct SqlStmt* stmt = SQL->StmtMalloc(inter->sql_handle);
if (stmt == NULL)
{
SqlStmt_ShowDebug(stmt);
diff --git a/src/echar/init.c b/src/echar/init.c
index 10d18eb..c8cf58a 100644
--- a/src/echar/init.c
+++ b/src/echar/init.c
@@ -13,6 +13,7 @@
#include "common/mmo.h"
#include "common/socket.h"
#include "common/strlib.h"
+#include "common/sql.h"
#include "common/timer.h"
#include "char/char.h"
#include "char/geoip.h"