Przeglądaj źródła

SDL_bsdjoystick: fix -Wundef warning on FreeBSD

Anonymous Maarten 1 rok temu
rodzic
commit
f26a93211f
1 zmienionych plików z 1 dodań i 1 usunięć
  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