From a092bafeee07c97352d2c6d06780220286ab2db0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 30 Nov 2010 15:52:45 -0800 Subject: [PATCH] In test programs, just as in pcap-usb-linux.c, if we have we (probably need to include it before including , otherwise the test may fail when it shouldn't. --- configure | 3 +++ configure.in | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configure b/configure index 31aeac1..36e416e 100755 --- a/configure +++ b/configure @@ -10792,6 +10792,9 @@ $ac_includes_default #ifdef HAVE_SYS_BITYPES_H #include #endif +#ifdef HAVE_LINUX_COMPILER_H +#include +#endif # include int main () diff --git a/configure.in b/configure.in index fe36ee7..01c65c7 100644 --- a/configure.in +++ b/configure.in @@ -1418,6 +1418,9 @@ AC_INCLUDES_DEFAULT #ifdef HAVE_SYS_BITYPES_H #include #endif +#ifdef HAVE_LINUX_COMPILER_H +#include +#endif # include ], [u_int i = sizeof(((struct usbdevfs_ctrltransfer *)0)->bRequestType)], ac_cv_usbdevfs_ctrltransfer_has_bRequestType=yes,