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:
parent
b019cc06cb
commit
a092bafeee
|
@ -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 ()
|
||||
|
|
|
@ -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,
|
||||
|
|
Reference in New Issue