Fixed compiler warnings in test programs by adding includes directives.

This commit is contained in:
Philipp Wiesemann 2013-07-14 13:27:19 +02:00
parent 7a76c4f7f7
commit 27e8a1013d
3 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#include <signal.h>
#include <stdio.h>
#include <stdlib.h> /* for atexit() */
#include "SDL.h"
#include "SDL_mutex.h"

View File

@ -12,6 +12,8 @@
/* Simple program: Create a native window and attach an SDL renderer */
#include <stdio.h>
#include <stdlib.h> /* for srand() */
#include <time.h> /* for time() */
#include "testnative.h"

View File

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