summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2007-12-15 16:32:05 +0000
committerperry <perry@NetBSD.org>2007-12-15 16:32:05 +0000
commit1241b50c5ecd257030f9ddd40c9009a0a4c55ee8 (patch)
treeccc70fdf82822470bbcaf8e942606ca3069cb00e /phantasia
parent1ea7f1a6440429085d3deeaeb2cad0b475501605 (diff)
downloadbsdgames-darwin-1241b50c5ecd257030f9ddd40c9009a0a4c55ee8.tar.gz
bsdgames-darwin-1241b50c5ecd257030f9ddd40c9009a0a4c55ee8.tar.zst
bsdgames-darwin-1241b50c5ecd257030f9ddd40c9009a0a4c55ee8.zip
include sys/cdefs.h so that __attribute__ can be fixed later
Diffstat (limited to 'phantasia')
-rw-r--r--phantasia/io.c3
-rw-r--r--phantasia/setup.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/phantasia/io.c b/phantasia/io.c
index 66f23637..ed6e0ad2 100644
--- a/phantasia/io.c
+++ b/phantasia/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.9 2005/02/15 12:58:21 jsm Exp $ */
+/* $NetBSD: io.c,v 1.10 2007/12/15 16:32:05 perry Exp $ */
/*
* io.c - input/output routines for Phantasia
@@ -6,6 +6,7 @@
#include "include.h"
#undef bool
+#include <sys/cdefs.h>
#include <curses.h>
void
diff --git a/phantasia/setup.c b/phantasia/setup.c
index ea0aafa4..df1f0133 100644
--- a/phantasia/setup.c
+++ b/phantasia/setup.c
@@ -1,8 +1,9 @@
-/* $NetBSD: setup.c,v 1.14 2004/12/09 05:15:59 jmc Exp $ */
+/* $NetBSD: setup.c,v 1.15 2007/12/15 16:32:05 perry Exp $ */
/*
* setup.c - set up all files for Phantasia
*/
+#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <fcntl.h>