aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-27 14:44:58 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-27 14:44:58 +0000
commit2d401f9e16b267d956d5f8eb64db204eb1b72e4c (patch)
tree3062c7359035753e2ec7feea732a661245b14964 /apps
parent29ba1f4953ea48dd9386cb5a3bfac0e64d778b65 (diff)
We need to inclde sys/wait.h on OpenBSD to get WEXITSTATUS.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@255158 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 1cb7a7797..0a547c30f 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -94,7 +94,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <sys/mman.h>
#include <time.h>
#include <dirent.h>
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <sys/wait.h>
#endif