summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2001-08-29 18:23:44 +0000
committerjsm <jsm@NetBSD.org>2001-08-29 18:23:44 +0000
commit0844b02eba6f45290cab8514cb0cba2a23f97829 (patch)
tree4c1740b9c9abd7283209a48004a686a9caf28902
parente340c0bc1403b003dd50c47495ccd20e821329c7 (diff)
downloadbsdgames-darwin-0844b02eba6f45290cab8514cb0cba2a23f97829.tar.gz
bsdgames-darwin-0844b02eba6f45290cab8514cb0cba2a23f97829.tar.zst
bsdgames-darwin-0844b02eba6f45290cab8514cb0cba2a23f97829.zip
Include <time.h> for declarations the Single Unix Specification says
are there but not in <sys/time.h>.
-rw-r--r--atc/include.h3
-rw-r--r--monop/execute.c5
-rw-r--r--sail/main.c5
3 files changed, 8 insertions, 5 deletions
diff --git a/atc/include.h b/atc/include.h
index 0afa881b..e0c7ce10 100644
--- a/atc/include.h
+++ b/atc/include.h
@@ -1,4 +1,4 @@
-/* $NetBSD: include.h,v 1.6 1997/10/10 02:07:14 lukem Exp $ */
+/* $NetBSD: include.h,v 1.7 2001/08/29 18:23:44 jsm Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -66,6 +66,7 @@
#include <stdlib.h>
#include <string.h>
#include <termios.h>
+#include <time.h>
#include <unistd.h>
#include "def.h"
diff --git a/monop/execute.c b/monop/execute.c
index 42f23797..2eb9aa8c 100644
--- a/monop/execute.c
+++ b/monop/execute.c
@@ -1,4 +1,4 @@
-/* $NetBSD: execute.c,v 1.7 1999/09/08 21:17:51 jsm Exp $ */
+/* $NetBSD: execute.c,v 1.8 2001/08/29 18:23:44 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)execute.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: execute.c,v 1.7 1999/09/08 21:17:51 jsm Exp $");
+__RCSID("$NetBSD: execute.c,v 1.8 2001/08/29 18:23:44 jsm Exp $");
#endif
#endif /* not lint */
@@ -49,6 +49,7 @@ __RCSID("$NetBSD: execute.c,v 1.7 1999/09/08 21:17:51 jsm Exp $");
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
+#include <time.h>
#define SEGSIZE 8192
diff --git a/sail/main.c b/sail/main.c
index e824acd7..9161e568 100644
--- a/sail/main.c
+++ b/sail/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.19 2001/01/04 03:51:24 jwise Exp $ */
+/* $NetBSD: main.c,v 1.20 2001/08/29 18:23:44 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: main.c,v 1.19 2001/01/04 03:51:24 jwise Exp $");
+__RCSID("$NetBSD: main.c,v 1.20 2001/08/29 18:23:44 jsm Exp $");
#endif
#endif /* not lint */
@@ -52,6 +52,7 @@ __RCSID("$NetBSD: main.c,v 1.19 2001/01/04 03:51:24 jwise Exp $");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "extern.h"
#include "restart.h"