summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdrop/tcpdrop.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2012-12-18 21:28:45 +0000
committermillert <millert@openbsd.org>2012-12-18 21:28:45 +0000
commit991f79952ebcb2ab56e759e3ffd1f50501cbe82e (patch)
tree1259e195a94d3473e1bf4953f4f9111aaa7dbead /usr.sbin/tcpdrop/tcpdrop.c
parentreorder some variables and move large buffers to the top of the stack. (diff)
downloadwireguard-openbsd-991f79952ebcb2ab56e759e3ffd1f50501cbe82e.tar.xz
wireguard-openbsd-991f79952ebcb2ab56e759e3ffd1f50501cbe82e.zip
We no longer use struct eproc for kinfo_proc in sysctl.h so there
is no direct need for sys/proc.h or sys/resource.h. Some consumers of kinfo_proc need these for the proc flags and rlimit defines like RLIM_INF so add the appropriate includes to them. OK deraadt@ sthen@
Diffstat (limited to 'usr.sbin/tcpdrop/tcpdrop.c')
-rw-r--r--usr.sbin/tcpdrop/tcpdrop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/tcpdrop/tcpdrop.c b/usr.sbin/tcpdrop/tcpdrop.c
index bda48bf7471..577d8f9c3b3 100644
--- a/usr.sbin/tcpdrop/tcpdrop.c
+++ b/usr.sbin/tcpdrop/tcpdrop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpdrop.c,v 1.8 2009/06/13 19:06:16 andreas Exp $ */
+/* $OpenBSD: tcpdrop.c,v 1.9 2012/12/18 21:28:45 millert Exp $ */
/*
* Copyright (c) 2004 Markus Friedl <markus@openbsd.org>
@@ -19,6 +19,7 @@
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
+#include <sys/timeout.h>
#include <netinet/in.h>
#include <netinet/tcp.h>