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/misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phantasia/misc.c') diff --git a/phantasia/misc.c b/phantasia/misc.c index 50f79c01..850b51ee 100644 --- a/phantasia/misc.c +++ b/phantasia/misc.c @@ -1,10 +1,11 @@ -/* $NetBSD: misc.c,v 1.11 2004/04/07 17:46:47 ross Exp $ */ +/* $NetBSD: misc.c,v 1.12 2004/04/11 13:35:06 he Exp $ */ /* * misc.c Phantasia miscellaneous support routines */ #include "include.h" +#undef bool #include -- cgit v1.2.3-56-ge451