From 4940b5dbc22195e091d88ac14b583a45e49f1f79 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 22 Nov 2023 03:31:46 +0100 Subject: [PATCH] SDL_bsdjoystick: fix -Wundef warning on FreeBSD --- src/joystick/bsd/SDL_bsdjoystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/bsd/SDL_bsdjoystick.c b/src/joystick/bsd/SDL_bsdjoystick.c index e30426314..89523e08b 100644 --- a/src/joystick/bsd/SDL_bsdjoystick.c +++ b/src/joystick/bsd/SDL_bsdjoystick.c @@ -69,7 +69,7 @@ #include #endif -#if SDL_HAVE_MACHINE_JOYSTICK_H +#ifdef SDL_HAVE_MACHINE_JOYSTICK_H #include #endif