Mercurial > sdl-ios-xcode
changeset 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 | a6264945ac52 |
children | 3f93ccc2c01e |
files | src/audio/arts/SDL_artsaudio.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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"