summaryrefslogtreecommitdiffstats
path: root/phantasia/interplayer.c
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2004-04-11 13:35:06 +0000
committerhe <he@NetBSD.org>2004-04-11 13:35:06 +0000
commit719921c6b2c9ada81455b4a32fc99807230266ca (patch)
tree758be6b3d517abe92874bd4b965491884026b5ca /phantasia/interplayer.c
parent0cf3d63b421b88cc05b4ac55af656f84128713f4 (diff)
downloadbsdgames-darwin-719921c6b2c9ada81455b4a32fc99807230266ca.tar.gz
bsdgames-darwin-719921c6b2c9ada81455b4a32fc99807230266ca.tar.zst
bsdgames-darwin-719921c6b2c9ada81455b4a32fc99807230266ca.zip
Undef bool before including <curses.h>, 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.
Diffstat (limited to 'phantasia/interplayer.c')
-rw-r--r--phantasia/interplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/phantasia/interplayer.c b/phantasia/interplayer.c
index 53cd37ba..e10747d2 100644
--- a/phantasia/interplayer.c
+++ b/phantasia/interplayer.c
@@ -1,10 +1,11 @@
-/* $NetBSD: interplayer.c,v 1.7 2004/04/07 17:46:47 ross Exp $ */
+/* $NetBSD: interplayer.c,v 1.8 2004/04/11 13:35:06 he Exp $ */
/*
* interplayer.c - player to player routines for Phantasia
*/
#include "include.h"
+#undef bool
#include <curses.h>
void