summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--phantasia/io.c3
-rw-r--r--phantasia/setup.c3
-rw-r--r--tetris/screen.c3
3 files changed, 6 insertions, 3 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>
diff --git a/tetris/screen.c b/tetris/screen.c
index ce561282..61519997 100644
--- a/tetris/screen.c
+++ b/tetris/screen.c
@@ -1,4 +1,4 @@
-/* $NetBSD: screen.c,v 1.19 2004/01/27 20:30:30 jsm Exp $ */
+/* $NetBSD: screen.c,v 1.20 2007/12/15 16:32:05 perry Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -38,6 +38,7 @@
* Tetris screen control.
*/
+#include <sys/cdefs.h>
#include <sys/ioctl.h>
#include <setjmp.h>