Update endian.h for AIX/IRIX

Added AIX/IRIX compatibility for endian detection.

ok bcook@ deraadt@ beck@
This commit is contained in:
pgmassey 2014-07-25 14:58:53 -04:00 committed by Brent Cook
parent 981fc3618a
commit 02ad0041c4

View File

@ -22,6 +22,14 @@
#elif defined(__sun)
#include <arpa/nameser_compat.h>
#elif defined(_AIX)
#include <sys/types.h>
#include <arpa/nameser_compat.h>
#elif defined(__sgi)
#include <standards.h>
#include <sys/endian.h>
#else
#include_next <machine/endian.h>