--- src/hid_osx.c.orig +++ src/hid_osx.c @@ -22,6 +22,7 @@ #if __MAC_OS_X_VERSION_MIN_REQUIRED < 120000 #define kIOMainPortDefault kIOMasterPortDefault +#define kIOHIDManagerOptionNone 0x0 #endif #define IOREG "ioreg://"