$OpenBSD: patch-device_usb_usb_service_impl_h,v 1.3 2015/07/23 13:44:04 robert Exp $
--- device/usb/usb_service_impl.h.orig.port	Wed Jul 22 09:47:11 2015
+++ device/usb/usb_service_impl.h	Wed Jul 22 09:47:32 2015
@@ -92,11 +92,13 @@ class UsbServiceImpl : public UsbService,
 
   void RemoveDevice(scoped_refptr<UsbDeviceImpl> device);
 
+#if !defined(OS_BSD)
   // Handle hotplug events from libusb.
   static int LIBUSB_CALL HotplugCallback(libusb_context* context,
                                          PlatformUsbDevice device,
                                          libusb_hotplug_event event,
                                          void* user_data);
+#endif
   // These functions release a reference to the provided platform device.
   void OnPlatformDeviceAdded(PlatformUsbDevice platform_device);
   void OnPlatformDeviceRemoved(PlatformUsbDevice platform_device);
@@ -112,7 +114,9 @@ class UsbServiceImpl : public UsbService,
   // connected instead of only when a full enumeration is requested.
   // TODO(reillyg): Support this on all platforms. crbug.com/411715
   bool hotplug_enabled_ = false;
+#if !defined(OS_BSD)
   libusb_hotplug_callback_handle hotplug_handle_;
+#endif
 
   // Enumeration callbacks are queued until an enumeration completes.
   bool enumeration_ready_ = false;
