From f17aa6a5367b70eec8fd3456fffe100bb87c551e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 28 Jun 2015 02:58:54 +0200 Subject: Fix FTBFS with libusb2 on freebsd [taken from FreeBSD kdeedu3 patches] --- kstars/kstars/indi/fli/libfli-usb-sys-bsd.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kstars/kstars/indi/fli/libfli-usb-sys-bsd.c b/kstars/kstars/indi/fli/libfli-usb-sys-bsd.c index d1f6a2b0..caccf859 100644 --- a/kstars/kstars/indi/fli/libfli-usb-sys-bsd.c +++ b/kstars/kstars/indi/fli/libfli-usb-sys-bsd.c @@ -41,8 +41,15 @@ */ +#include #include +#if __FreeBSD_version >= 800069 +#include +#include +#define USB_SET_TIMEOUT USB_SET_RX_TIMEOUT +#else #include +#endif #include #include -- cgit v1.2.1