summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-03-20 11:47:40 +0000
committerRussell Bryant <russell@russellbryant.com>2010-03-20 11:47:40 +0000
commita5b4b429f1c6c45acdc1cde378f189429d52e327 (patch)
tree1f1eaba94cbe368ac01d15e675718cc2c43f20f3 /apps/app_voicemail.c
parent33aa72d5923abe9f9262fa71a02f2f800eae2614 (diff)
Include sys/wait.h on FreeBSD to get the WEXITSTATUS() macro.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index c69e7854f..9cd2fcd91 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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"