summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2017-10-02 22:03:10 +0000
committerjoerg <joerg@NetBSD.org>2017-10-02 22:03:10 +0000
commit8426350b66a10201602aae2a0cf26ab6d65d1b4d (patch)
tree7dc06171bf43adcb4fc44da5eeefb9d3371015b1 /phantasia
parenta8ebb091a7418187b69c5008ac60e7515e9cf803 (diff)
downloadbsdgames-darwin-8426350b66a10201602aae2a0cf26ab6d65d1b4d.tar.gz
bsdgames-darwin-8426350b66a10201602aae2a0cf26ab6d65d1b4d.tar.zst
bsdgames-darwin-8426350b66a10201602aae2a0cf26ab6d65d1b4d.zip
Include time.h for time. Drop sys/types.h and expect basic working
system headers.
Diffstat (limited to 'phantasia')
-rw-r--r--phantasia/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/phantasia/setup.c b/phantasia/setup.c
index 8d2cd6ed..a13c5211 100644
--- a/phantasia/setup.c
+++ b/phantasia/setup.c
@@ -1,4 +1,4 @@
-/* $NetBSD: setup.c,v 1.21 2009/08/31 08:27:16 dholland Exp $ */
+/* $NetBSD: setup.c,v 1.22 2017/10/02 22:03:10 joerg Exp $ */
/*
* setup.c - set up all files for Phantasia
@@ -8,13 +8,13 @@
#include <sys/cdefs.h>
#endif
-#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <setjmp.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#ifndef __dead /* Not NetBSD */