Przeglądaj źródła

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

Ozkan Sezer 1 rok temu
rodzic
commit
73066492f6
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      test/testshader.c

+ 1 - 0
test/testshader.c

@@ -11,6 +11,7 @@
 */
 /* This is a simple example of using GLSL shaders with SDL */
 
+#include <stdlib.h>
 #include "SDL.h"
 
 #ifdef HAVE_OPENGL