Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/phantasia Include time.h for time. Drop sys/types.h an...



details:   https://anonhg.NetBSD.org/src/rev/02250ee0890a
branches:  trunk
changeset: 826859:02250ee0890a
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Oct 02 22:03:10 2017 +0000

description:
Include time.h for time. Drop sys/types.h and expect basic working
system headers.

diffstat:

 games/phantasia/setup.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 53e2bbbb43b5 -r 02250ee0890a games/phantasia/setup.c
--- a/games/phantasia/setup.c   Mon Oct 02 22:02:05 2017 +0000
+++ b/games/phantasia/setup.c   Mon Oct 02 22:03:10 2017 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index