Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compiler warnings in test programs by adding includes directives.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jul 14, 2013
1 parent e32bdd3 commit 86d5a95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/testlock.c
Expand Up @@ -16,6 +16,7 @@

#include <signal.h>
#include <stdio.h>
#include <stdlib.h> /* for atexit() */

#include "SDL.h"
#include "SDL_mutex.h"
Expand Down
2 changes: 2 additions & 0 deletions test/testnative.c
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions test/testshader.c
Expand Up @@ -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
Expand Down

0 comments on commit 86d5a95

Please sign in to comment.