summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-26 08:50:31 +0000
committerguenther <guenther@openbsd.org>2016-08-26 08:50:31 +0000
commit528a98a62d5a0280cd6d967dc59144d2149d1d5b (patch)
tree0afe8a50a7aefe1c219da3ee9a9e7233339c85b1
parentPull in <sys/time.h> for gettimeofday() (diff)
downloadwireguard-openbsd-528a98a62d5a0280cd6d967dc59144d2149d1d5b.tar.xz
wireguard-openbsd-528a98a62d5a0280cd6d967dc59144d2149d1d5b.zip
Pull in <time.h> for ctime_r, gmtime, etc
ok deraadt@
-rw-r--r--usr.bin/file/magic-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/file/magic-test.c b/usr.bin/file/magic-test.c
index ab446a838cc..388328787a5 100644
--- a/usr.bin/file/magic-test.c
+++ b/usr.bin/file/magic-test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magic-test.c,v 1.23 2016/05/01 11:26:19 nicm Exp $ */
+/* $OpenBSD: magic-test.c,v 1.24 2016/08/26 08:50:31 guenther Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -27,6 +27,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <vis.h>