Fix compile error on FreeBSD

This commit is contained in:
Uffe Jakobsen 2014-12-31 00:32:44 +01:00 committed by Uwe Hermann
parent b1a7ca3b60
commit 15eea61a47
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@
/* Portability fixes for FreeBSD. */
#ifdef __FreeBSD__
#define LIBUSB_CLASS_APPLICATION 0xfe
#define libusb_has_capability(x) 0
#define libusb_handle_events_timeout_completed(ctx, tv, c) \
libusb_handle_events_timeout(ctx, tv)
#endif