summaryrefslogtreecommitdiff
path: root/aesopt.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-05-24 20:09:05 +0000
committerMark Spencer <markster@digium.com>2004-05-24 20:09:05 +0000
commitaf69f683590552724357c42a96f323ed007b5162 (patch)
tree472a625a747765ce83e897d5fa2f923e05cf5f1b /aesopt.h
parent3377298b06f31b3fcc631ec6a12632fb8177510e (diff)
Fix AES for MacOS build
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'aesopt.h')
-rwxr-xr-xaesopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/aesopt.h b/aesopt.h
index 9919f6c50..571b7c452 100755
--- a/aesopt.h
+++ b/aesopt.h
@@ -154,7 +154,7 @@
#elif defined( __FreeBSD__ )
# include <sys/types.h>
# include <sys/endian.h>
-#elif defined( BSD ) && ( BSD >= 199103 )
+#elif defined( BSD ) && ( BSD >= 199103 ) || defined(__APPLE__)
# include <machine/endian.h>
#elif defined( __GNUC__ ) || defined( __GNU_LIBRARY__ )
# include <endian.h>