summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-19 19:47:43 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-19 19:47:43 +0000
commit2d39c63a22c131578a691b882c3f40a8192973dd (patch)
treefa86f2b8cedd15a997078d2c3d4978d876dfdd02 /src/map
parent78701d19c7b8f9ae07fdf233b2126fc66e37b5b8 (diff)
downloadhercules-2d39c63a22c131578a691b882c3f40a8192973dd.tar.gz
hercules-2d39c63a22c131578a691b882c3f40a8192973dd.tar.bz2
hercules-2d39c63a22c131578a691b882c3f40a8192973dd.tar.xz
hercules-2d39c63a22c131578a691b882c3f40a8192973dd.zip
Fixed a gcc compilation error and some warnings.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11046 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.h11
-rw-r--r--src/map/intif.h7
-rw-r--r--src/map/pc.c1
3 files changed, 18 insertions, 1 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 6dbb7f59c..d13ab9037 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -10,10 +10,19 @@ struct storage;
struct guild_storage;
//#include "map.h"
struct block_list;
+struct unit_data;
struct map_session_data;
struct homun_data;
-struct unit_data;
+struct pet_data;
+struct npc_data;
+struct chat_data;
struct flooritem_data;
+struct skill_unit;
+struct vending;
+struct party;
+struct party_data;
+struct guild;
+#include <stdarg.h>
// server->client protocol version
// v7 - 2005-04-11aSakexe+ - 0x229, 0x22a, 0x22b, 0x22c
diff --git a/src/map/intif.h b/src/map/intif.h
index f80041847..7f7cfb392 100644
--- a/src/map/intif.h
+++ b/src/map/intif.h
@@ -4,6 +4,13 @@
#ifndef _INTIF_H_
#define _INFIF_H_
+//#include "../common/mmo.h"
+struct party_member;
+struct guild_member;
+struct guild_position;
+struct s_pet;
+struct s_homunculus;
+
int intif_parse(int fd);
int intif_GMmessage(const char* mes,int len,int flag);
diff --git a/src/map/pc.c b/src/map/pc.c
index e73f0a06e..d4fd5f94c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -35,6 +35,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <time.h>