Merge branch 'vendor/LIBPCAP' and updated build for new version.
[dragonfly.git] / contrib / libpcap / gencode.c
index 41057ba..bd38224 100644 (file)
@@ -68,7 +68,7 @@ static const char rcsid[] _U_ =
 #include "nlpid.h"
 #include "llc.h"
 #include "gencode.h"
-#include "ieee80211.h"
+#include <netproto/802_11/ieee80211.h>
 #include "atmuni31.h"
 #include "sunatmpos.h"
 #include "ppp.h"
@@ -77,8 +77,9 @@ static const char rcsid[] _U_ =
 #ifdef HAVE_NET_PFVAR_H
 #include <sys/socket.h>
 #include <net/if.h>
-#include <net/pfvar.h>
-#include <net/if_pflog.h>
+#include <net/if_var.h>
+#include <net/pf/pfvar.h>
+#include <net/pf/if_pflog.h>
 #endif
 #ifndef offsetof
 #define offsetof(s, e) ((size_t)&((s *)0)->e)
@@ -90,6 +91,8 @@ static const char rcsid[] _U_ =
 #endif /*INET6*/
 #include <pcap/namedb.h>
 
+#include <netproto/802_11/ieee80211_radiotap.h>
+
 #define ETHERMTU       1500
 
 #ifndef IPPROTO_SCTP