summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-26 09:10:11 +0000
committerguenther <guenther@openbsd.org>2016-08-26 09:10:11 +0000
commitefffed83f916d9fed9a4e890dbc8b3c0aa756246 (patch)
tree3d9c584f9229deccef3ad1c9e5f37d9c3f598cfc
parentPull in <time.h> for struct tm, used in rcs.h (diff)
downloadwireguard-openbsd-efffed83f916d9fed9a4e890dbc8b3c0aa756246.tar.xz
wireguard-openbsd-efffed83f916d9fed9a4e890dbc8b3c0aa756246.zip
Pull in <time.h> for time()
ok deraadt@
-rw-r--r--usr.bin/systat/cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/systat/cache.c b/usr.bin/systat/cache.c
index e20c802bbd2..6e9d739d172 100644
--- a/usr.bin/systat/cache.c
+++ b/usr.bin/systat/cache.c
@@ -1,4 +1,4 @@
-/* $Id: cache.c,v 1.6 2016/01/16 03:30:26 canacar Exp $ */
+/* $Id: cache.c,v 1.7 2016/08/26 09:10:11 guenther Exp $ */
/*
* Copyright (c) 2001, 2007 Can Erkin Acar <canacar@openbsd.org>
*
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <assert.h>