summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 01:55:31 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 01:55:31 +0000
commit71167b473f40b343f0fb955de113883d4f9f1549 (patch)
tree04a17bf25d7e2bc57032e2687d3bdeb86295114a /sbin/sysctl/sysctl.c
parent1c23282a9a6f261299f6c5f9b5579dbeef3b51c2 (diff)
Pull in <sys/time.h> for struct timespec
ok deraadt@
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r--sbin/sysctl/sysctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 19da662b94f..c15aea3006a 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.217 2016/08/14 22:54:56 guenther Exp $ */
+/* $OpenBSD: sysctl.c,v 1.218 2016/08/27 01:55:30 guenther Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -37,6 +37,7 @@
#include <sys/shm.h>
#include <sys/sysctl.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <sys/malloc.h>
#include <sys/uio.h>
#include <sys/tty.h>