summaryrefslogtreecommitdiff
path: root/usr.sbin/trpt/trpt.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 01:50:08 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 01:50:08 +0000
commit1c23282a9a6f261299f6c5f9b5579dbeef3b51c2 (patch)
tree1f96b7da5dcdeec15febbcd9185bb516469c0a48 /usr.sbin/trpt/trpt.c
parent9eb1375e8f7c8e5ce4622ca52fd30eccfceedc4d (diff)
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
Diffstat (limited to 'usr.sbin/trpt/trpt.c')
-rw-r--r--usr.sbin/trpt/trpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c
index d266eb2d827..47ff59753b7 100644
--- a/usr.sbin/trpt/trpt.c
+++ b/usr.sbin/trpt/trpt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trpt.c,v 1.32 2015/11/20 15:52:57 deraadt Exp $ */
+/* $OpenBSD: trpt.c,v 1.33 2016/08/27 01:50:07 guenther Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -60,6 +60,7 @@
*/
#include <sys/queue.h>
+#include <sys/time.h>
#include <sys/socket.h>
#define PRUREQUESTS
#include <sys/protosw.h>