summaryrefslogtreecommitdiff
path: root/print-usb.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-15 14:19:49 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-15 14:19:49 +0400
commit1fe6e66ecec3fb7a7cc729038012cbb264542331 (patch)
tree994f5218d7609bedbd50f207d1b15e43f661be50 /print-usb.c
parent85a2dd977cad3e21b475abbedeb795989207b8db (diff)
downloadtcpdump-1fe6e66ecec3fb7a7cc729038012cbb264542331.tar.gz
make use of NETDISSECT_REWORKED
Update the already converted decoders to define the macro and to include interface.h instead of netdissect.h. Fix incurred compile errors.
Diffstat (limited to 'print-usb.c')
-rw-r--r--print-usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/print-usb.c b/print-usb.c
index 7f453e33..75f78fc9 100644
--- a/print-usb.c
+++ b/print-usb.c
@@ -19,13 +19,14 @@
*
*/
+#define NETDISSECT_REWORKED
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tcpdump-stdinc.h>
-#include "netdissect.h"
+#include "interface.h"
#if defined(HAVE_PCAP_USB_H) && defined(DLT_USB_LINUX)