summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-05 14:50:07 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-05 14:50:07 +0000
commit28eedb41600c4c6617cd38905b3e55c879180754 (patch)
treef3309c45f09acdba5144185b51d91f4a51b0b2f9 /src/char_sql
parenta79359182bb925d2f64dc82adccbf4333cdcd01d (diff)
downloadhercules-28eedb41600c4c6617cd38905b3e55c879180754.tar.gz
hercules-28eedb41600c4c6617cd38905b3e55c879180754.tar.bz2
hercules-28eedb41600c4c6617cd38905b3e55c879180754.tar.xz
hercules-28eedb41600c4c6617cd38905b3e55c879180754.zip
* Removed the dependency on winsock.h for definitions, it's all winsock2.h now.
* Minor documentation/re-coding in chat.c. * More work on ticket #41. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10471 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/inter.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/char_sql/inter.h b/src/char_sql/inter.h
index c1567cfe6..98b0fc49d 100644
--- a/src/char_sql/inter.h
+++ b/src/char_sql/inter.h
@@ -4,6 +4,10 @@
#ifndef _INTER_SQL_H_
#define _INTER_SQL_H_
+#ifndef _CBASETYPES_H_
+#include "../common/cbasetypes.h"
+#endif
+
int inter_init_sql(const char *file);
void inter_final(void);
int inter_parse_frommap(int fd);
@@ -21,9 +25,8 @@ int inter_log(char *fmt,...);
extern unsigned int party_share_level;
extern char inter_log_filename[1024];
-#ifdef __WIN32
-//Windows.h need to be included before mysql.h
-#include <windows.h>
+#ifdef WIN32
+#include <winsock2.h>
#endif
//add include for DBMS(mysql)
#include <mysql.h>