summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 03:48:00 +0000
committerguenther <guenther@openbsd.org>2016-08-27 03:48:00 +0000
commit5e645fa65efebf21029b4f06fd7e689bc0bfa461 (patch)
tree531610a7ac633b8bb52bbadfe8556f401d885bc2
parentPull in <stdio.h> for NULL (diff)
downloadwireguard-openbsd-5e645fa65efebf21029b4f06fd7e689bc0bfa461.tar.xz
wireguard-openbsd-5e645fa65efebf21029b4f06fd7e689bc0bfa461.zip
Pull in <sys/time.h> for struct timespec
ok deraadt@
-rw-r--r--libexec/rpc.rstatd/rstat_proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c
index 1b73cba4128..e432079abf7 100644
--- a/libexec/rpc.rstatd/rstat_proc.c
+++ b/libexec/rpc.rstatd/rstat_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rstat_proc.c,v 1.33 2015/01/16 06:39:50 deraadt Exp $ */
+/* $OpenBSD: rstat_proc.c,v 1.34 2016/08/27 03:48:00 guenther Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -36,6 +36,7 @@
*/
#include <sys/types.h>
+#include <sys/time.h>
#include <sys/sched.h>
#include <sys/socket.h>
#include <sys/sysctl.h>