We need to inclde sys/wait.h on OpenBSD to get WEXITSTATUS.
authorSean Bright <sean@malleable.com>
Sat, 27 Mar 2010 14:44:58 +0000 (14:44 +0000)
committerSean Bright <sean@malleable.com>
Sat, 27 Mar 2010 14:44:58 +0000 (14:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@255158 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 1cb7a77..0a547c3 100644 (file)
@@ -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