summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-21 21:50:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-21 21:50:34 +0000
commit03e064c04d932d7183d51c253f9ed4f9a0f09aff (patch)
tree0abaaec6ce9a8553d008c5c2318f36faaceb0461 /usr.sbin/bgpd
parent845bafcb5deb45c57feac32817a690f65de50c66 (diff)
Include <netinet/in.h> before <net/pfvar.h>. In a future change when
ports is ready, <net/pfvar.h> will stop including a pile of balony.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/pftable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/pftable.c b/usr.sbin/bgpd/pftable.c
index 9594b2b054b..f934a6533ea 100644
--- a/usr.sbin/bgpd/pftable.c
+++ b/usr.sbin/bgpd/pftable.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pftable.c,v 1.7 2014/10/08 16:15:37 deraadt Exp $ */
+/* $OpenBSD: pftable.c,v 1.8 2015/01/21 21:50:32 deraadt Exp $ */
/*
* Copyright (c) 2004 Damien Miller <djm@openbsd.org>
@@ -20,6 +20,7 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <net/if.h>
#include <net/pfvar.h>