summaryrefslogtreecommitdiff
path: root/aesopt.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-05-05 01:56:03 +0000
committerMark Spencer <markster@digium.com>2004-05-05 01:56:03 +0000
commitcc1da2eb5b0c0c54e8df70391ad839fbb0f9ab28 (patch)
tree93c005343409793425aa93f53c869a3c77dae662 /aesopt.h
parentcc9ffa5ac1affc4d73e10faa24e1d804c333deb9 (diff)
Qualify that SIP INFO stuff is real (bug #1558)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'aesopt.h')
-rwxr-xr-xaesopt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/aesopt.h b/aesopt.h
index 936ccd4ca..9919f6c50 100755
--- a/aesopt.h
+++ b/aesopt.h
@@ -158,7 +158,9 @@
# include <machine/endian.h>
#elif defined( __GNUC__ ) || defined( __GNU_LIBRARY__ )
# include <endian.h>
+#if !defined(__APPLE__)
# include <byteswap.h>
+#endif
#elif defined( linux )
# include <endian.h>
#endif