(libusb_hid.c) Define LIBUSB_CAP_HAS_HOTPLUG in case it's not there

This commit is contained in:
twinaphex 2015-06-26 13:06:48 +02:00
parent c1aa66b6e9
commit 6988f1bb76

View File

@ -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;