Fixed compiler warning (gcc w/ -Wall) for using getpid() and kill() without SDL-1.2
authorRyan C. Gordon
Sun, 08 Jul 2007 01:36:16 +0000
branchSDL-1.2
changeset 40157e878cc4250a
parent 4014 a6264945ac52
child 4016 3f93ccc2c01e
Fixed compiler warning (gcc w/ -Wall) for using getpid() and kill() without
their proper headers included.
src/audio/arts/SDL_artsaudio.c
     1.1 --- a/src/audio/arts/SDL_artsaudio.c	Sun Jul 08 01:35:50 2007 +0000
     1.2 +++ b/src/audio/arts/SDL_artsaudio.c	Sun Jul 08 01:36:16 2007 +0000
     1.3 @@ -23,6 +23,11 @@
     1.4  
     1.5  /* Allow access to a raw mixing buffer */
     1.6  
     1.7 +#ifdef HAVE_SIGNAL_H
     1.8 +#include <signal.h>
     1.9 +#endif
    1.10 +#include <unistd.h>
    1.11 +
    1.12  #include "SDL_timer.h"
    1.13  #include "SDL_audio.h"
    1.14  #include "../SDL_audiomem.h"