Windows: Fix a MinGW compilation issue
* Some MinGW platforms may not have FACILITY_SETUPAPI defined
* Issue introduced with 8b46e1c088167eb86b1712765896e2f17d70d148
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h
index 5d67a56..14ee422 100644
--- a/libusb/os/windows_usb.h
+++ b/libusb/os/windows_usb.h
@@ -40,6 +40,11 @@
#define SPDRP_INSTALL_STATE 34
#endif
+// Missing from MinGW
+#if !defined(FACILITY_SETUPAPI)
+#define FACILITY_SETUPAPI 15
+#endif
+
#if defined(__CYGWIN__ )
#define _stricmp stricmp
// cygwin produces a warning unless these prototypes are defined
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 4dc856c..69887e6 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10860
+#define LIBUSB_NANO 10861