diff options
Diffstat (limited to 'aesopt.h')
-rwxr-xr-x | aesopt.h | 22 |
1 files changed, 1 insertions, 21 deletions
@@ -136,6 +136,7 @@ #define _AESOPT_H #include <asterisk/aes.h> +#include <asterisk/endian.h> /* CONFIGURATION - USE OF DEFINES @@ -146,27 +147,6 @@ #if clauses. */ -/* PLATFORM SPECIFIC INCLUDES */ - -#if defined( __OpenBSD__ ) -# include <machine/types.h> -# include <sys/endian.h> -#elif defined( __FreeBSD__ ) || defined( __NetBSD__ ) -# include <sys/types.h> -# include <sys/endian.h> -#elif defined( BSD ) && ( BSD >= 199103 ) || defined(__APPLE__) -# include <machine/endian.h> -#elif defined ( SOLARIS ) -# include <solaris-compat/compat.h> -#elif defined( __GNUC__ ) || defined( __GNU_LIBRARY__ ) -# include <endian.h> -#if !defined(__APPLE__) -# include <byteswap.h> -#endif -#elif defined( linux ) -# include <endian.h> -#endif - /* BYTE ORDER IN 32-BIT WORDS To obtain the highest speed on processors with 32-bit words, this code |