summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rarpd
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 01:42:37 +0000
committerguenther <guenther@openbsd.org>2016-08-27 01:42:37 +0000
commitc4b5d4d48297111c7b06022f085893d308e1fa7c (patch)
treeebf3e500a26e6172ab5f821ce0e65cdbda7f13c4 /usr.sbin/rarpd
parentUse %zu for size_t arguments (diff)
downloadwireguard-openbsd-c4b5d4d48297111c7b06022f085893d308e1fa7c.tar.xz
wireguard-openbsd-c4b5d4d48297111c7b06022f085893d308e1fa7c.zip
Pull in <sys/time.h> for gettimeofday()
ok deraadt@
Diffstat (limited to 'usr.sbin/rarpd')
-rw-r--r--usr.sbin/rarpd/arptab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rarpd/arptab.c b/usr.sbin/rarpd/arptab.c
index ddabb26ef22..5eca91f50e0 100644
--- a/usr.sbin/rarpd/arptab.c
+++ b/usr.sbin/rarpd/arptab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arptab.c,v 1.27 2016/07/25 16:28:06 visa Exp $ */
+/* $OpenBSD: arptab.c,v 1.28 2016/08/27 01:42:37 guenther Exp $ */
/*
* Copyright (c) 1984, 1993
@@ -40,6 +40,7 @@
#include <sys/file.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
#include <net/if.h>
#include <net/if_dl.h>