From 6988f1bb76c9783246c6f5691086e1e3bfd3ed38 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 26 Jun 2015 13:06:48 +0200 Subject: [PATCH] (libusb_hid.c) Define LIBUSB_CAP_HAS_HOTPLUG in case it's not there --- input/drivers_hid/libusb_hid.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/input/drivers_hid/libusb_hid.c b/input/drivers_hid/libusb_hid.c index 0b44663796..97f3beab0e 100644 --- a/input/drivers_hid/libusb_hid.c +++ b/input/drivers_hid/libusb_hid.c @@ -23,6 +23,10 @@ #include "../input_autodetect.h" #include "../input_hid_driver.h" +#ifndef LIBUSB_CAP_HAS_HOTPLUG +#define LIBUSB_CAP_HAS_HOTPLUG 0x0001 +#endif + typedef struct libusb_hid { libusb_hotplug_callback_handle hp;