summaryrefslogtreecommitdiffstats
path: root/sail/sync.c
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>1999-09-09 17:30:17 +0000
committerjsm <jsm@NetBSD.org>1999-09-09 17:30:17 +0000
commite60a14029400aa36f907f23c8ccbbc1f122dd7e5 (patch)
tree87c77d6e45cc0b6f0d313e2585b040b2b8a4773b /sail/sync.c
parent05028c2aa439ddb8c5624303ab13b755c79e3930 (diff)
downloadbsdgames-darwin-e60a14029400aa36f907f23c8ccbbc1f122dd7e5.tar.gz
bsdgames-darwin-e60a14029400aa36f907f23c8ccbbc1f122dd7e5.tar.zst
bsdgames-darwin-e60a14029400aa36f907f23c8ccbbc1f122dd7e5.zip
Include <time.h> in various places in the games where time() or time_t
are used.
Diffstat (limited to 'sail/sync.c')
-rw-r--r--sail/sync.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sail/sync.c b/sail/sync.c
index 8bab1a99..9b5b5049 100644
--- a/sail/sync.c
+++ b/sail/sync.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $ */
+/* $NetBSD: sync.c,v 1.13 1999/09/09 17:30:20 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)sync.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $");
+__RCSID("$NetBSD: sync.c,v 1.13 1999/09/09 17:30:20 jsm Exp $");
#endif
#endif /* not lint */
@@ -53,6 +53,7 @@ __RCSID("$NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $");
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <time.h>
#include "extern.h"
#define BUFSIZE 4096