Fixed compiler warnings in test programs by adding includes directives.
This commit is contained in:
parent
dbb91faaf9
commit
7ca8149a59
3 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> /* for atexit() */
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_mutex.h"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue