summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-20 04:01:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-20 04:01:43 +0000
commitdd8ac4fd17bf2d8af6d79d17a2e519de9772805c (patch)
treea98374ea618996f6b27125660cd8286fe80c379a
parentd6c3dfe97acaae1552daf68e797083877f8a11ed (diff)
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>