Mercurial > sdl-ios-xcode
diff src/audio/arts/SDL_artsaudio.c @ 4015:7e878cc4250a SDL-1.2
Fixed compiler warning (gcc w/ -Wall) for using getpid() and kill() without
their proper headers included.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 08 Jul 2007 01:36:16 +0000 |
parents | 33c248ea75f9 |
children | a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/audio/arts/SDL_artsaudio.c Sun Jul 08 01:35:50 2007 +0000 +++ b/src/audio/arts/SDL_artsaudio.c Sun Jul 08 01:36:16 2007 +0000 @@ -23,6 +23,11 @@ /* Allow access to a raw mixing buffer */ +#ifdef HAVE_SIGNAL_H +#include <signal.h> +#endif +#include <unistd.h> + #include "SDL_timer.h" #include "SDL_audio.h" #include "../SDL_audiomem.h"