diff options
author | dholland <dholland@NetBSD.org> | 2009-08-31 08:27:16 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-31 08:27:16 +0000 |
commit | f317851cef910ed84d916f18ef477f31e735802d (patch) | |
tree | e275e53266046ba2d99b4ce26a427ee5a769a2ec /phantasia/gamesupport.c | |
parent | 261019cf959bb2b883a896cb49cb696257730a87 (diff) | |
download | bsdgames-darwin-f317851cef910ed84d916f18ef477f31e735802d.tar.gz bsdgames-darwin-f317851cef910ed84d916f18ef477f31e735802d.tar.zst bsdgames-darwin-f317851cef910ed84d916f18ef477f31e735802d.zip |
Dumping all system includes anything uses in one big header file is so 1986.
XXX: Removing unused declarations (thus, unused headers can trigger
XXX: it) sometimes causes gcc to generate substantially different
XXX: code. Dunno why but it looks rather like a gcc bug.
Diffstat (limited to 'phantasia/gamesupport.c')
-rw-r--r-- | phantasia/gamesupport.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/phantasia/gamesupport.c b/phantasia/gamesupport.c index b05f1ff5..c084519b 100644 --- a/phantasia/gamesupport.c +++ b/phantasia/gamesupport.c @@ -1,10 +1,19 @@ -/* $NetBSD: gamesupport.c,v 1.10 2009/05/25 23:08:45 dholland Exp $ */ +/* $NetBSD: gamesupport.c,v 1.11 2009/08/31 08:27:16 dholland Exp $ */ /* * gamesupport.c - auxiliary routines for support of Phantasia */ -#include "include.h" +#include <setjmp.h> +#include <stdio.h> +#include <string.h> +#include <time.h> + +#include "phantdefs.h" +#include "phantstruct.h" +#include "phantglobs.h" +#include "pathnames.h" + #undef bool #include <curses.h> |