소스 검색

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

Ozkan Sezer 1 년 전
부모
커밋
aaf426e280
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;