summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2010-03-27 14:44:58 +0000
committerSean Bright <sean@malleable.com>2010-03-27 14:44:58 +0000
commitb8aeb50b7b8e5c321100b7f4a85db07d059736db (patch)
tree3062c7359035753e2ec7feea732a661245b14964
parent11f57c680619bff241c5c83739f2a0dd95562a7a (diff)
We need to inclde sys/wait.h on OpenBSD to get WEXITSTATUS.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@255158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-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