summaryrefslogtreecommitdiff
path: root/src/common/sql.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-16 20:28:18 +0100
committerHaru <haru@dotalux.com>2016-02-17 10:40:45 +0100
commit1d2eb6d23519a971db0646a146152fc6f79350f1 (patch)
tree47d24a43925e95aea6acb8ff321cb9543600fda4 /src/common/sql.c
parent10908446738f6e425de6e8fa50e8f91eb30c0478 (diff)
downloadhercules-1d2eb6d23519a971db0646a146152fc6f79350f1.tar.gz
hercules-1d2eb6d23519a971db0646a146152fc6f79350f1.tar.bz2
hercules-1d2eb6d23519a971db0646a146152fc6f79350f1.tar.xz
hercules-1d2eb6d23519a971db0646a146152fc6f79350f1.zip
Replaced some now unnecessary includes with forward declarations in header files
Added some forgotten <stdio.h> and "common/conf.h" includes to .c files, that were previously masked by the above. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/sql.c')
-rw-r--r--src/common/sql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/sql.c b/src/common/sql.c
index f6280c436..b1e77e636 100644
--- a/src/common/sql.c
+++ b/src/common/sql.c
@@ -32,6 +32,7 @@
# include "common/winapi.h" // Needed before mysql.h
#endif
#include <mysql.h>
+#include <stdio.h>
#include <stdlib.h> // strtoul
void hercules_mysql_error_handler(unsigned int ecode);