Zapras fix for BSD (bug #1801)
authorMark Spencer <markster@digium.com>
Mon, 7 Jun 2004 19:12:14 +0000 (19:12 +0000)
committerMark Spencer <markster@digium.com>
Mon, 7 Jun 2004 19:12:14 +0000 (19:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3168 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_zapras.c

index b1cc5fb..efe93f9 100755 (executable)
 #include <asterisk/options.h>
 #include <sys/ioctl.h>
 #include <sys/wait.h>
+#ifdef __linux__
 #include <sys/signal.h>
+#else
+#include <signal.h>
+#endif /* __linux__ */
 
 #include <stdlib.h>
 #include <unistd.h>