about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsdl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedsdl2.c')
-rwxr-xr-xsrc/wrapped/wrappedsdl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl2.c b/src/wrapped/wrappedsdl2.c
index a8c81937..baefaa74 100755
--- a/src/wrapped/wrappedsdl2.c
+++ b/src/wrapped/wrappedsdl2.c
@@ -814,7 +814,7 @@ EXPORT void my2_SDL_GetJoystickGUIDInfo(SDL_JoystickGUID guid, uint16_t *vend, u
     box64->sdl2allocrw = my->SDL_AllocRW;   \
     box64->sdl2freerw  = my->SDL_FreeRW;    \
     SETALT(my2_);                           \
-    setNeededLibs(&lib->priv.w, 4,          \
+    setNeededLibs(lib, 4,                   \
         "libdl.so.2",                       \
         "libm.so.6",                        \
         "librt.so.1",                       \