dect
/
libpcap
Archived
13
0
Fork 0

In test programs, just as in pcap-usb-linux.c, if we have

<linux/compiler.h> we (probably need to include it before including
<linux/usbdevice_fs.h>, otherwise the test may fail when it shouldn't.
This commit is contained in:
Guy Harris 2010-11-30 15:52:45 -08:00
parent b019cc06cb
commit a092bafeee
2 changed files with 6 additions and 0 deletions

3
configure vendored
View File

@ -10792,6 +10792,9 @@ $ac_includes_default
#ifdef HAVE_SYS_BITYPES_H
#include <sys/bitypes.h>
#endif
#ifdef HAVE_LINUX_COMPILER_H
#include <linux/compiler.h>
#endif
# include <linux/usbdevice_fs.h>
int
main ()

View File

@ -1418,6 +1418,9 @@ AC_INCLUDES_DEFAULT
#ifdef HAVE_SYS_BITYPES_H
#include <sys/bitypes.h>
#endif
#ifdef HAVE_LINUX_COMPILER_H
#include <linux/compiler.h>
#endif
# include <linux/usbdevice_fs.h>],
[u_int i = sizeof(((struct usbdevfs_ctrltransfer *)0)->bRequestType)],
ac_cv_usbdevfs_ctrltransfer_has_bRequestType=yes,