summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/pfutils.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-21 21:50:32 +0000
committerderaadt <deraadt@openbsd.org>2015-01-21 21:50:32 +0000
commit68928c43a99c1507757b46fa476c5482a4d9e547 (patch)
tree5bf56e1982f7ba71f533dfad5168b595aa24f8c8 /usr.sbin/dhcpd/pfutils.c
parentRemove the useless variable ifa in rt_getifa(). (diff)
downloadwireguard-openbsd-68928c43a99c1507757b46fa476c5482a4d9e547.tar.xz
wireguard-openbsd-68928c43a99c1507757b46fa476c5482a4d9e547.zip
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/dhcpd/pfutils.c')
-rw-r--r--usr.sbin/dhcpd/pfutils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/pfutils.c b/usr.sbin/dhcpd/pfutils.c
index cdf1af8b196..8e385ab5b87 100644
--- a/usr.sbin/dhcpd/pfutils.c
+++ b/usr.sbin/dhcpd/pfutils.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfutils.c,v 1.11 2015/01/16 06:40:16 deraadt Exp $ */
+/* $OpenBSD: pfutils.c,v 1.12 2015/01/21 21:50:33 deraadt Exp $ */
/*
* Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org>
*
@@ -20,9 +20,10 @@
#include <sys/socket.h>
#include <sys/time.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <net/if.h>
#include <net/pfvar.h>
-#include <arpa/inet.h>
#include <ctype.h>
#include <err.h>