summaryrefslogtreecommitdiff
path: root/usr.bin/nfsstat
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 04:07:43 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 04:07:43 +0000
commit528dfb65652a156473beada60eacb7fc24c8bf50 (patch)
tree4fec8d274572f25978aa710f3a36a3ffd7db08df /usr.bin/nfsstat
parentb800ce0bd53e241c2ffa6dae18d6f21b675cd83f (diff)
Pull in <sys/time.h> for struct timespec and timeval
ok deraadt@
Diffstat (limited to 'usr.bin/nfsstat')
-rw-r--r--usr.bin/nfsstat/nfsstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c
index ab6f05ebd36..ba9cf2fde5a 100644
--- a/usr.bin/nfsstat/nfsstat.c
+++ b/usr.bin/nfsstat/nfsstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsstat.c,v 1.35 2015/10/23 08:18:30 tedu Exp $ */
+/* $OpenBSD: nfsstat.c,v 1.36 2016/08/27 04:07:42 guenther Exp $ */
/* $NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $ */
/*
@@ -36,6 +36,7 @@
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>
#include <nfs/nfs.h>