mirror of https://github.com/xqemu/xqemu.git
Provide the missing LIBUSB_LOG_LEVEL_* for older libusb or FreeBSD. Providing just the needed value as a defined.
Signed-off-by: Chris Johns <chrisj@rtems.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
558c2c8ddf
commit
1e03e40784
|
@ -143,6 +143,12 @@ static void usb_host_attach_kernel(USBHostDevice *s);
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------------ */
|
||||||
|
|
||||||
|
#ifndef LIBUSB_LOG_LEVEL_WARNING /* older libusb didn't define these */
|
||||||
|
#define LIBUSB_LOG_LEVEL_WARNING 2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------ */
|
||||||
|
|
||||||
#define CONTROL_TIMEOUT 10000 /* 10 sec */
|
#define CONTROL_TIMEOUT 10000 /* 10 sec */
|
||||||
#define BULK_TIMEOUT 0 /* unlimited */
|
#define BULK_TIMEOUT 0 /* unlimited */
|
||||||
#define INTR_TIMEOUT 0 /* unlimited */
|
#define INTR_TIMEOUT 0 /* unlimited */
|
||||||
|
|
Loading…
Reference in New Issue