Fix AES for MacOS build

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-05-24 20:09:05 +00:00
parent 3377298b06
commit af69f68359
2 changed files with 2 additions and 2 deletions

View File

@ -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>

2
md5.c
View File

@ -6,7 +6,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>
#else
# include <endian.h>