From 0920898be2ede72baafa2a02e77ea223ecbe4f9a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 25 Nov 2010 13:49:16 -0800 Subject: Include before including . Some versions of the Linux kernel require that. --- pcap-usb-linux.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcap-usb-linux.c b/pcap-usb-linux.c index daaa900..61695b6 100644 --- a/pcap-usb-linux.c +++ b/pcap-usb-linux.c @@ -61,6 +61,11 @@ static const char rcsid[] _U_ = #include #include #ifdef HAVE_LINUX_USBDEVICE_FS_H +/* + * We assume that any Linux that supports USB sniffing has ; + * we might need it for to define __user. + */ +#include #include #endif -- cgit v1.2.3