summaryrefslogtreecommitdiffstats
path: root/usr.sbin/authpf
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/authpf
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/authpf')
-rw-r--r--usr.sbin/authpf/authpf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 93cc3e4c2b8..ec09f31a23e 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.122 2015/01/15 23:59:28 deraadt Exp $ */
+/* $OpenBSD: authpf.c,v 1.123 2015/01/21 21:50:32 deraadt Exp $ */
/*
* Copyright (C) 1998 - 2007 Bob Beck (beck@openbsd.org).
@@ -24,9 +24,10 @@
#include <sys/time.h>
#include <sys/wait.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <net/if.h>
#include <net/pfvar.h>
-#include <arpa/inet.h>
#include <err.h>
#include <errno.h>