From 719921c6b2c9ada81455b4a32fc99807230266ca Mon Sep 17 00:00:00 2001 From: he Date: Sun, 11 Apr 2004 13:35:06 +0000 Subject: Undef bool before including , since it tries to typedef bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration warning from "typedef char char;" due to the #define of bool in phantstruct.h. --- phantasia/fight.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phantasia/fight.c') diff --git a/phantasia/fight.c b/phantasia/fight.c index fbd45546..cb446828 100644 --- a/phantasia/fight.c +++ b/phantasia/fight.c @@ -1,10 +1,11 @@ -/* $NetBSD: fight.c,v 1.9 2004/04/07 17:46:47 ross Exp $ */ +/* $NetBSD: fight.c,v 1.10 2004/04/11 13:35:06 he Exp $ */ /* * fight.c Phantasia monster fighting routines */ #include "include.h" +#undef bool #include void -- cgit v1.2.3