View | Details | Raw Unified | Return to bug 136367
Collapse All | Expand All

(-)files/patch-kstars-indi-fli_libfli-usb-sys-bsd.c (-8 / +7 lines)
Lines 1-19 Link Here
1
1
--- kstars/kstars/indi/fli/libfli-usb-sys-bsd.c.orig	2005-09-10 04:17:35.000000000 -0400
2
--- kstars/kstars/indi/fli/libfli-usb-sys-bsd.c.orig	2005-09-10 03:17:35.000000000 -0500
2
+++ kstars/kstars/indi/fli/libfli-usb-sys-bsd.c	2009-07-06 17:12:21.000000000 -0400
3
+++ kstars/kstars/indi/fli/libfli-usb-sys-bsd.c	2009-03-26 09:44:39.470081183 -0500
3
@@ -41,8 +41,15 @@
4
@@ -41,8 +41,13 @@
5
 
4
 
6
 */
5
 */
7
 
6
 
8
+#include <sys/param.h>
7
+#include <sys/param.h>
9
 #include <sys/types.h>
8
 #include <sys/types.h>
10
+#if __FreeBSD_version > 800061
9
+#if __FreeBSD_version >= 800069
11
+#include <legacy/dev/usb/usb.h>
10
+#include <libusb20.h>
11
+#include <dev/usb/usb_ioctl.h>
12
+#define	USB_SET_TIMEOUT	USB_SET_RX_TIMEOUT
12
+#else
13
+#else
13
 #include <dev/usb/usb.h>
14
 #include <dev/usb/usb.h>
14
+#endif
15
+#endif
15
 #include <sys/ioctl.h>
16
 #include <sys/ioctl.h>
16
 
17
 
17
 #include <unistd.h>
18
 #include <unistd.h>
18
19

Return to bug 136367