Cleaned up more compiler warnings in the 1.2 branch. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Thu, 13 Oct 2011 12:29:03 -0400
branchSDL-1.2
changeset 5985 f617e1b7a27f
parent 5984 057c0a599fee
child 5986 4854219a91e9
Cleaned up more compiler warnings in the 1.2 branch.
src/audio/pulse/SDL_pulseaudio.c
src/thread/pthread/SDL_syssem.c
--- a/src/audio/pulse/SDL_pulseaudio.c	Thu Oct 13 12:19:30 2011 -0400
+++ b/src/audio/pulse/SDL_pulseaudio.c	Thu Oct 13 12:29:03 2011 -0400
@@ -37,6 +37,7 @@
 #include "../SDL_audiomem.h"
 #include "../SDL_audio_c.h"
 #include "../SDL_audiodev_c.h"
+#include "../../../include/SDL_video.h"  /* for SDL_WM_GetCaption(). */
 #include "SDL_pulseaudio.h"
 
 #ifdef SDL_AUDIO_DRIVER_PULSE_DYNAMIC
--- a/src/thread/pthread/SDL_syssem.c	Thu Oct 13 12:19:30 2011 -0400
+++ b/src/thread/pthread/SDL_syssem.c	Thu Oct 13 12:29:03 2011 -0400
@@ -24,6 +24,7 @@
 #include <pthread.h>
 #include <semaphore.h>
 #include <errno.h>
+#include <sys/time.h>
 
 #include "SDL_thread.h"
 #include "SDL_timer.h"