joystick: define inline to SDL_INLINE
diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h
index d200d83..b5a5193 100644
--- a/src/joystick/controller_type.h
+++ b/src/joystick/controller_type.h
@@ -26,7 +26,7 @@
#ifndef __cplusplus
typedef enum { false, true } bool;
-#define inline
+#define inline SDL_INLINE
#endif
//-----------------------------------------------------------------------------