mirror of
https://github.com/yawut/SDL.git
synced 2026-04-23 09:07:30 -05:00
Fixed compiler warnings in test programs by adding includes directives.
This commit is contained in:
parent
7a76c4f7f7
commit
27e8a1013d
|
|
@ -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…
Reference in New Issue
Block a user