summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 468f7a7d6..bf748df3b 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -828,8 +828,8 @@ struct npc_data {
short n;
short class_;
short speed;
- unsigned char name[NAME_LENGTH];
- unsigned char exname[NAME_LENGTH];
+ char name[NAME_LENGTH];
+ char exname[NAME_LENGTH];
int chat_id;
unsigned int next_walktime;
@@ -1243,8 +1243,8 @@ enum {
struct chat_data {
struct block_list bl;
- unsigned char pass[8+1]; /* password */
- unsigned char title[60+1]; /* room title */
+ char pass[8+1]; /* password */
+ char title[60+1]; /* room title */
unsigned char limit; /* join limit */
unsigned char trigger;
unsigned char users; /* current users */
@@ -1405,10 +1405,8 @@ extern char *map_server_dns;
#ifndef TXT_ONLY
-// MySQL
-#ifdef __WIN32
-#include <my_global.h>
-#include <my_sys.h>
+#ifdef _WIN32
+#include <windows.h> // SOCKET
#endif
#include <mysql.h>