*bsd build fix (Petr Salinger)

Sat, 26 Mar 2011 10:15:17 +0100

author
franky
date
Sat, 26 Mar 2011 10:15:17 +0100
changeset 164
ece4e9ebf90a
parent 163
726e2ac62dce
child 165
2f0486acc6df

*bsd build fix (Petr Salinger)

tools/karma_helper.c file | annotate | diff | revisions
     1.1 --- a/tools/karma_helper.c	Sat Mar 26 10:12:16 2011 +0100
     1.2 +++ b/tools/karma_helper.c	Sat Mar 26 10:15:17 2011 +0100
     1.3 @@ -257,8 +257,10 @@
     1.4  
     1.5      handle = usb_open(device);
     1.6  
     1.7 +#ifdef __linux__
     1.8      if (unbind)
     1.9          return usb_detach_kernel_driver_np(handle, 0);
    1.10 +#endif
    1.11  
    1.12      if (usb_claim_interface(handle, 0) < 0)
    1.13      {

mercurial