From 2d39c63a22c131578a691b882c3f40a8192973dd Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 19 Aug 2007 19:47:43 +0000 Subject: 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 --- src/map/clif.h | 11 ++++++++++- src/map/intif.h | 7 +++++++ src/map/pc.c | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) 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 // 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 +#include #include #include -- cgit v1.2.3-70-g09d2