SDL_bsdjoystick: fix -Wundef warning on FreeBSD

This commit is contained in:
Anonymous Maarten 2023-11-22 03:31:46 +01:00 committed by Ozkan Sezer
parent 3fb5124174
commit 4940b5dbc2

View file

@ -69,7 +69,7 @@
#include <sys/joystick.h> #include <sys/joystick.h>
#endif #endif
#if SDL_HAVE_MACHINE_JOYSTICK_H #ifdef SDL_HAVE_MACHINE_JOYSTICK_H
#include <machine/joystick.h> #include <machine/joystick.h>
#endif #endif