From 92e8224d3298bc9bb2cfd5826c414daee403eaab Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 11 Jul 2025 13:05:37 -0700
Subject: [PATCH] Fixed build
---
src/hidapi/libusb/hid.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hidapi/libusb/hid.c b/src/hidapi/libusb/hid.c
index 61638a9abc44a..0c4fc660ba496 100644
--- a/src/hidapi/libusb/hid.c
+++ b/src/hidapi/libusb/hid.c
@@ -927,7 +927,7 @@ static int should_enumerate_interface(unsigned short vendor_id, const struct lib
return 0;
}
-static int hid_blacklist(unsigned short vendor_id, unsigned short product_id)
+static int libusb_blacklist(unsigned short vendor_id, unsigned short product_id)
{
size_t i;
static const struct { unsigned short vid; unsigned short pid; } known_bad[] = {
@@ -974,7 +974,7 @@ struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id,
if ((vendor_id != 0x0 && vendor_id != dev_vid) ||
(product_id != 0x0 && product_id != dev_pid) ||
- hid_blacklist(dev_vid, dev_pid)) {
+ libusb_blacklist(dev_vid, dev_pid)) {
continue;
}