summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:48:01 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:48:01 +0000
commite46509c522d4e503e76b2cddea7919ebf023f77f (patch)
tree9fca0e90e4d9d0be87ab083876f5df3ce9fe3090
parent41f7ea3aff70fc2b78a900c7f3b164e1e07122ce (diff)
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>