]> The Tcpdump Group git mirrors - libpcap/commitdiff
pcap-usb-linux: DIAG_{OFF,ON}_FORMAT_TRUNCATION requires diag-control.h.
authorGuy Harris <[email protected]>
Sat, 12 Mar 2022 01:16:04 +0000 (17:16 -0800)
committerGuy Harris <[email protected]>
Wed, 16 Mar 2022 04:59:34 +0000 (21:59 -0700)
(cherry picked from commit 155434197d18f9464213316a0e72f3381bacb157)

pcap-usb-linux.c

index 9f84852bd2db8d51902f7274983c7da6654356ad..1138223511fd8c2ebdbad26cc986dce4f8b40398 100644 (file)
@@ -70,6 +70,8 @@
 #include <linux/usbdevice_fs.h>
 #endif /* HAVE_LINUX_USBDEVICE_FS_H */
 
+#include "diag-control.h"
+
 #define USB_IFACE "usbmon"
 #define USB_LINE_LEN 4096