From 08a88aab159b99588bf705e3e325813c07ae5d0f Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Sun, 22 Mar 2015 23:04:53 +0000 Subject: Fix compilation issues for OpenBSD This patch addresses compilation issues for OpenBSD. Specifically, it addresses: * It allows including in asterisk.c * Provides a needed (size_t) cast in xmldoc.c In 13+, it also addresses a conditional inclusion in loader.c. Review: https://reviewboard.asterisk.org/r/4506 ASTERISK-24880 #close Reported by: snuffy Tested by: snuffy patches: misc-openbsd.diff uploaded by snuffy (License 5024) ........ Merged revisions 433245 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433247 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/asterisk.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'main/asterisk.c') diff --git a/main/asterisk.c b/main/asterisk.c index eddb20383..08d9ae15e 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -171,12 +171,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #elif defined(HAVE_SYSCTL) #include #include -#if !defined(__OpenBSD__) #include #if defined(__FreeBSD__) #include #endif -#endif #if defined(HAVE_SWAPCTL) #include #endif -- cgit v1.2.3