Include sys/wait.h on FreeBSD to get the WEXITSTATUS() macro.
authorRussell Bryant <russell@russellbryant.com>
Sat, 20 Mar 2010 11:47:40 +0000 (11:47 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 20 Mar 2010 11:47:40 +0000 (11:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253539 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index c69e785..9cd2fcd 100644 (file)
@@ -94,6 +94,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <sys/mman.h>
 #include <time.h>
 #include <dirent.h>
+#if defined(__FreeBSD__)
+#include <sys/wait.h>
+#endif
 
 #include "asterisk/logger.h"
 #include "asterisk/lock.h"