summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-03-20 04:01:42 +0000
committerderaadt <deraadt@openbsd.org>2013-03-20 04:01:42 +0000
commit2829c8bef6ac1707e6a506f2765e0ce6cd527aa1 (patch)
tree246dc78b6ca09de9c3ae800320c1270a49c5b3b7
parent7 #include which are not needed (diff)
downloadwireguard-openbsd-2829c8bef6ac1707e6a506f2765e0ce6cd527aa1.tar.xz
wireguard-openbsd-2829c8bef6ac1707e6a506f2765e0ce6cd527aa1.zip
less includes
-rw-r--r--usr.sbin/bgpd/kroute.c3
-rw-r--r--usr.sbin/bgpd/session.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c
index b842575d1ea..c046e5dcbbf 100644
--- a/usr.sbin/bgpd/kroute.c
+++ b/usr.sbin/bgpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.192 2013/03/14 14:53:52 florian Exp $ */
+/* $OpenBSD: kroute.c,v 1.193 2013/03/20 04:01:42 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -16,7 +16,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 1218c5019f9..5498ed1fe65 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.328 2013/03/11 17:40:11 deraadt Exp $ */
+/* $OpenBSD: session.c,v 1.329 2013/03/20 04:01:42 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -16,7 +16,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
#include <sys/types.h>
#include <sys/mman.h>
@@ -30,6 +29,7 @@
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
+#include <limits.h>
#include <err.h>
#include <errno.h>