summaryrefslogtreecommitdiff
path: root/dissector.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-04-14 22:17:37 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-04-14 22:17:37 +0200
commite70e915c9e7f9418e483b87ae72176e4b2562bb6 (patch)
treef7e21bdd60c500f37f02f993b666e50e9c485d19 /dissector.c
parenta0e49fe80ba94071e4019edc5bbb128e0db1ec35 (diff)
dissector: Get rid of header dependency on pcap_io.h
The dissector only needs the LINKTYPE_* #defines from pcap_io.h. Instead of pulling in this rather large header just for this, move the LINKTYPE_* #defines to an own header and include it where needed. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'dissector.c')
-rw-r--r--dissector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dissector.c b/dissector.c
index ed6c4de..a412999 100644
--- a/dissector.c
+++ b/dissector.c
@@ -15,6 +15,7 @@
#include "dissector.h"
#include "dissector_eth.h"
#include "dissector_80211.h"
+#include "linktype.h"
int dissector_set_print_type(void *ptr, int type)
{