aboutsummaryrefslogtreecommitdiffstats
path: root/aesopt.h
diff options
context:
space:
mode:
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>