Pull in <sys/time.h> for struct timespec
authorguenther <guenther@openbsd.org>
Sat, 27 Aug 2016 03:48:00 +0000 (03:48 +0000)
committerguenther <guenther@openbsd.org>
Sat, 27 Aug 2016 03:48:00 +0000 (03:48 +0000)
ok deraadt@

libexec/rpc.rstatd/rstat_proc.c

index 1b73cba..e432079 100644 (file)
@@ -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>