diff --git a/mac/hid.c b/mac/hid.c index e0756a15..062ea8d7 100644 --- a/mac/hid.c +++ b/mac/hid.c @@ -303,7 +303,7 @@ static io_service_t hidapi_IOHIDDeviceGetService(IOHIDDeviceRef device) * and the fallback method will be used. */ if (iokit_framework == NULL) { - iokit_framework = dlopen("/System/Library/IOKit.framework/IOKit", RTLD_LAZY); + iokit_framework = dlopen("/System/Library/Frameworks/IOKit.framework/IOKit", RTLD_LAZY); if (iokit_framework != NULL) dynamic_IOHIDDeviceGetService = dlsym(iokit_framework, "IOHIDDeviceGetService");