summaryrefslogtreecommitdiff
path: root/aesopt.h
diff options
context:
space:
mode:
authorJames Golovich <james@gnuinter.net>2004-04-19 08:11:51 +0000
committerJames Golovich <james@gnuinter.net>2004-04-19 08:11:51 +0000
commit98533cbccc4795c42949b6228024a16f2eb14a76 (patch)
treeb8f24a2be248e5afeab4ddabbdc08fff7cafa3e7 /aesopt.h
parent36a13f931a0d396a267374d144bcbec990e32b35 (diff)
OpenBSD portability enhancements (bug 1002)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'aesopt.h')
-rwxr-xr-xaesopt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/aesopt.h b/aesopt.h
index 799c8a694..936ccd4ca 100755
--- a/aesopt.h
+++ b/aesopt.h
@@ -148,7 +148,10 @@
/* PLATFORM SPECIFIC INCLUDES */
-#if defined( __FreeBSD__ ) || defined( __OpenBSD__ )
+#if defined( __OpenBSD__ )
+# include <machine/types.h>
+# include <sys/endian.h>
+#elif defined( __FreeBSD__ )
# include <sys/types.h>
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 )