Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/makewhatis Include time.h for time.
details: https://anonhg.NetBSD.org/src/rev/8a01b283dba0
branches: trunk
changeset: 356559:8a01b283dba0
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Oct 02 22:04:51 2017 +0000
description:
Include time.h for time.
XXX Doesn't build with newer zlib, remove?
diffstat:
libexec/makewhatis/makewhatis.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r fc59c5442085 -r 8a01b283dba0 libexec/makewhatis/makewhatis.c
--- a/libexec/makewhatis/makewhatis.c Mon Oct 02 22:03:10 2017 +0000
+++ b/libexec/makewhatis/makewhatis.c Mon Oct 02 22:04:51 2017 +0000
@@ -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 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <zlib.h>
#include <util.h>
Home |
Main Index |
Thread Index |
Old Index