Module Name: src
Committed By: joerg
Date: Mon Oct 2 22:04:51 UTC 2017
Modified Files:
src/libexec/makewhatis: makewhatis.c
Log Message:
Include time.h for time.
XXX Doesn't build with newer zlib, remove?
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/libexec/makewhatis/makewhatis.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/makewhatis/makewhatis.c
diff -u src/libexec/makewhatis/makewhatis.c:1.49 src/libexec/makewhatis/makewhatis.c:1.50
--- src/libexec/makewhatis/makewhatis.c:1.49 Mon Jun 24 20:57:47 2013
+++ src/libexec/makewhatis/makewhatis.c Mon Oct 2 22:04:51 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: makewhatis.c,v 1.49 2013/06/24 20:57:47 christos Exp $ */
+/* $NetBSD: makewhatis.c,v 1.50 2017/10/02 22:04:51 joerg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
#if !defined(lint)
__COPYRIGHT("@(#) Copyright (c) 1999\
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: makewhatis.c,v 1.49 2013/06/24 20:57:47 christos Exp $");
+__RCSID("$NetBSD: makewhatis.c,v 1.50 2017/10/02 22:04:51 joerg Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -58,6 +58,7 @@ __RCSID("$NetBSD: makewhatis.c,v 1.49 20
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <zlib.h>
#include <util.h>