diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-20 11:47:40 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-20 11:47:40 +0000 |
commit | 27a99cceaa4c91890cbd1738c929cf5bce10fc94 (patch) | |
tree | 1f1eaba94cbe368ac01d15e675718cc2c43f20f3 | |
parent | 2daf66f03682ebd71cceae0f5b5c7167b2a8cae1 (diff) |
Include sys/wait.h on FreeBSD to get the WEXITSTATUS() macro.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253539 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_voicemail.c | 3 |
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" |