diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c index 3d21e7884..701280243 100644 --- a/src/hidapi/SDL_hidapi.c +++ b/src/hidapi/SDL_hidapi.c @@ -32,6 +32,7 @@ #include "SDL_hidapi_c.h" /* Initial type declarations */ +#define HID_API_NO_EXPORT_DEFINE /* do not export hidapi procedures */ #include "hidapi/hidapi.h" #ifndef SDL_HIDAPI_DISABLED