summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-01-24 06:42:14 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-01-24 06:42:14 +0000
commit1c8c2246d794dc12ade131587a5b487d8edd81b4 (patch)
treec3049e0a2fe7c929a7d8ec52d1821ff93ea2ec84
parent728c9b2152cae896cce243cdaf91c7a494c783d3 (diff)
add pf.h include for NPF > 0 use added in rev 1.71
ok dlg@
-rw-r--r--sys/net/if_pppx.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net/if_pppx.c b/sys/net/if_pppx.c
index 39b5bf2a1e0..112fac18788 100644
--- a/sys/net/if_pppx.c
+++ b/sys/net/if_pppx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppx.c,v 1.72 2020/01/23 01:22:59 dlg Exp $ */
+/* $OpenBSD: if_pppx.c,v 1.73 2020/01/24 06:42:13 jsg Exp $ */
/*
* Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org>
@@ -83,6 +83,11 @@
#include <net/bpf.h>
#endif
+#include "pf.h"
+#if NPF > 0
+#include <net/pfvar.h>
+#endif
+
#include <net/ppp_defs.h>
#include <net/ppp-comp.h>
#include <crypto/arc4.h>