summaryrefslogtreecommitdiff
path: root/src/common/sql.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-06-19 12:48:19 +0200
committerHaruna <haru@dotalux.com>2015-06-19 12:48:19 +0200
commit61f0dcb9a812d057e28c53837327f99bcea4733e (patch)
tree76c299f94ef60fa6007321b8c403ebc93d8027c1 /src/common/sql.c
parentec7241c953392938cd3a8740bacb4c869636766f (diff)
parentf2fbdc16a14d07e0895cc09eeba689bc556481d2 (diff)
downloadhercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.gz
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.bz2
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.tar.xz
hercules-61f0dcb9a812d057e28c53837327f99bcea4733e.zip
Merge pull request #532 from MishimaHaruna/includes
Include paths
Diffstat (limited to 'src/common/sql.c')
-rw-r--r--src/common/sql.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/common/sql.c b/src/common/sql.c
index 4ca14d43b..a93092533 100644
--- a/src/common/sql.c
+++ b/src/common/sql.c
@@ -6,19 +6,17 @@
#include "sql.h"
-#include <stdlib.h> // strtoul
-#include <string.h> // strlen/strnlen/memcpy/memset
-
-#include "../common/cbasetypes.h"
-#include "../common/malloc.h"
-#include "../common/showmsg.h"
-#include "../common/strlib.h"
-#include "../common/timer.h"
+#include "common/cbasetypes.h"
+#include "common/malloc.h"
+#include "common/showmsg.h"
+#include "common/strlib.h"
+#include "common/timer.h"
#ifdef WIN32
-# include "../common/winapi.h" // Needed before mysql.h
+# include "common/winapi.h" // Needed before mysql.h
#endif
#include <mysql.h>
+#include <stdlib.h> // strtoul
void hercules_mysql_error_handler(unsigned int ecode);