Parcourir la source

testhaptic.c: include stdlib.h for exit()

Ozkan Sezer il y a 1 an
Parent
commit
aaf426e280
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      test/testhaptic.c

+ 2 - 0
test/testhaptic.c

@@ -16,6 +16,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  */
 #include "SDL.h"
 
+#include <stdlib.h>
+
 #ifndef SDL_HAPTIC_DISABLED
 
 static SDL_Haptic *haptic;