From f26a93211fc74658ca63857b4ca75ecdaca4b87f 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 cb896c4c66..4522289076 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