Fixed compiler warning (gcc w/ -Wall) for using getpid() and kill() without SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Sun, 08 Jul 2007 01:36:16 +0000
branchSDL-1.2
changeset 4015 7e878cc4250a
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
--- 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"