Let's compile again on OpenBSD
authorMichiel van Baak <michiel@vanbaak.info>
Wed, 2 Sep 2009 10:50:49 +0000 (10:50 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Wed, 2 Sep 2009 10:50:49 +0000 (10:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215419 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk.h

index c62cb72..b7a79bd 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "asterisk/autoconfig.h"
 
-#ifndef __Darwin__
+#if !defined(__Darwin__) && !defined(__OpenBSD__)
 
 #define _POSIX_C_SOURCE 200112L
 #define _XOPEN_SOURCE 600
@@ -37,7 +37,7 @@
 #endif
 */
 
-#endif /* __Darwin__ */
+#endif /* !__Darwin__ && !__OpenBSD__ */
 
 #if !defined(NO_MALLOC_DEBUG) && !defined(STANDALONE) && defined(MALLOC_DEBUG)
 #include "asterisk/astmm.h"