From: Uffe Jakobsen Date: Tue, 30 Dec 2014 23:32:44 +0000 (+0100) Subject: Fix compile error on FreeBSD X-Git-Tag: libsigrok-0.4.0~694 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=15eea61a470617c2e8df066180821f532b3cbf88;p=libsigrok.git Fix compile error on FreeBSD --- diff --git a/src/libsigrok-internal.h b/src/libsigrok-internal.h index a8d680eb..bd2d4c74 100644 --- a/src/libsigrok-internal.h +++ b/src/libsigrok-internal.h @@ -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