summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2000-10-10 01:50:26 +0000
committerwollman <wollman@FreeBSD.org>2000-10-10 01:50:26 +0000
commitc5c43ce91fc476c67d622b0ca48e8e25ca653ff6 (patch)
tree6a86f0286158b145d4f10cd2c3b154f913998b9d /games
parent62118ce6963d049326bd94cead782dfd91c67b48 (diff)
downloadFreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.zip
FreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.tar.gz
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
Diffstat (limited to 'games')
-rw-r--r--games/rogue/machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/rogue/machdep.c b/games/rogue/machdep.c
index a66bdb3..39cfa81 100644
--- a/games/rogue/machdep.c
+++ b/games/rogue/machdep.c
@@ -99,7 +99,9 @@ static const char rcsid[] =
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
+
#include <pwd.h>
+#include <time.h>
#ifdef UNIX_BSD4_2
#include <sys/time.h>
OpenPOWER on IntegriCloud