aboutsummaryrefslogtreecommitdiffstats
path: root/aesopt.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-24 20:09:05 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-24 20:09:05 +0000
commitdec424aa1514a16b885b9694bbf3d13b3bedefa1 (patch)
tree472a625a747765ce83e897d5fa2f923e05cf5f1b /aesopt.h
parent476e3c218e6917fbd504f4f28f3cd0d19697f230 (diff)
Fix AES for MacOS build
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3061 f38db490-d61c-443f-a65b-d21fe96a405b
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>