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 5985f617e1b7a27f
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
     1.1 --- a/src/audio/pulse/SDL_pulseaudio.c	Thu Oct 13 12:19:30 2011 -0400
     1.2 +++ b/src/audio/pulse/SDL_pulseaudio.c	Thu Oct 13 12:29:03 2011 -0400
     1.3 @@ -37,6 +37,7 @@
     1.4  #include "../SDL_audiomem.h"
     1.5  #include "../SDL_audio_c.h"
     1.6  #include "../SDL_audiodev_c.h"
     1.7 +#include "../../../include/SDL_video.h"  /* for SDL_WM_GetCaption(). */
     1.8  #include "SDL_pulseaudio.h"
     1.9  
    1.10  #ifdef SDL_AUDIO_DRIVER_PULSE_DYNAMIC
     2.1 --- a/src/thread/pthread/SDL_syssem.c	Thu Oct 13 12:19:30 2011 -0400
     2.2 +++ b/src/thread/pthread/SDL_syssem.c	Thu Oct 13 12:29:03 2011 -0400
     2.3 @@ -24,6 +24,7 @@
     2.4  #include <pthread.h>
     2.5  #include <semaphore.h>
     2.6  #include <errno.h>
     2.7 +#include <sys/time.h>
     2.8  
     2.9  #include "SDL_thread.h"
    2.10  #include "SDL_timer.h"