summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/unix.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 04:07:42 +0000
committerguenther <guenther@openbsd.org>2016-08-27 04:07:42 +0000
commit5bc099a9f82e63af38ae951e524c915ca1004813 (patch)
treeceecb1bcfe4a0adad150ae3f3cd7b11820927d57 /usr.bin/netstat/unix.c
parentPull in <sys/time.h> for struct timeval (diff)
downloadwireguard-openbsd-5bc099a9f82e63af38ae951e524c915ca1004813.tar.xz
wireguard-openbsd-5bc099a9f82e63af38ae951e524c915ca1004813.zip
Pull in <sys/time.h> for struct timespec and timeval
ok deraadt@
Diffstat (limited to 'usr.bin/netstat/unix.c')
-rw-r--r--usr.bin/netstat/unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c
index 2bb4c2c0d0a..4888469441d 100644
--- a/usr.bin/netstat/unix.c
+++ b/usr.bin/netstat/unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unix.c,v 1.28 2015/08/24 15:55:53 bluhm Exp $ */
+/* $OpenBSD: unix.c,v 1.29 2016/08/27 04:07:42 guenther Exp $ */
/* $NetBSD: unix.c,v 1.13 1995/10/03 21:42:48 thorpej Exp $ */
/*-
@@ -38,6 +38,7 @@
#include <sys/protosw.h>
#include <sys/mbuf.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
#include <sys/un.h>
#include <sys/unpcb.h>
#define _KERNEL