Browse Source

SDL_bsdjoystick: fix -Wundef warning on FreeBSD

Anonymous Maarten 1 year ago
parent
commit
4940b5dbc2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/joystick/bsd/SDL_bsdjoystick.c

+ 1 - 1
src/joystick/bsd/SDL_bsdjoystick.c

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