From 15eea61a470617c2e8df066180821f532b3cbf88 Mon Sep 17 00:00:00 2001 From: Uffe Jakobsen Date: Wed, 31 Dec 2014 00:32:44 +0100 Subject: [PATCH] Fix compile error on FreeBSD --- src/libsigrok-internal.h | 1 + 1 file changed, 1 insertion(+) 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