aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-device__usb__usb_device_handle_impl.h
blob: a07b5e6b9998df75a37c0174cc0610479ca03592 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- device/usb/usb_device_handle_impl.h.orig	2015-07-15 16:30:04.000000000 -0400
+++ device/usb/usb_device_handle_impl.h	2015-07-22 07:35:03.384188000 -0400
@@ -13,7 +13,12 @@
 #include "base/memory/ref_counted.h"
 #include "base/threading/thread_checker.h"
 #include "device/usb/usb_device_handle.h"
+#if defined(OS_FREEBSD)
+#include "libusb.h"
+#define LIBUSB_CALL
+#else
 #include "third_party/libusb/src/libusb/libusb.h"
+#endif
 
 namespace base {
 class SequencedTaskRunner;