From: Russell Bryant Date: Sat, 20 Mar 2010 11:47:40 +0000 (+0000) Subject: Include sys/wait.h on FreeBSD to get the WEXITSTATUS() macro. X-Git-Tag: 11.0.0-beta1~3257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5b4b429f1c6c45acdc1cde378f189429d52e327;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index c69e7854f6..9cd2fcd91c 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -94,6 +94,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include #include +#if defined(__FreeBSD__) +#include +#endif #include "asterisk/logger.h" #include "asterisk/lock.h"