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 dbb91faaf9
commit 7ca8149a59
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