瀏覽代碼

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;