tools/karma_helper.c | 2 ++
1 file changed, 2 insertions(+)
--- libkarma-0.0.6.orig/tools/karma_helper.c
+++ libkarma-0.0.6/tools/karma_helper.c
@@ -251,8 +251,10 @@
handle = usb_open(device);
+#ifdef __linux__
if (unbind)
return usb_detach_kernel_driver_np(handle, 0);
+#endif
if (usb_claim_interface(handle, 0) < 0)
{