Explorar o código

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

Ozkan Sezer hai 1 ano
pai
achega
aaf426e280
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;