merge endian definitions between AIX/HP-UX/Solaris
This commit is contained in:
parent
ff58a2e3cb
commit
8d89fb071c
@ -19,10 +19,7 @@
|
||||
#elif defined(__linux__)
|
||||
#include <endian.h>
|
||||
|
||||
#elif defined(__sun)
|
||||
#include <arpa/nameser_compat.h>
|
||||
|
||||
#elif defined(_AIX)
|
||||
#elif defined(__sun) || defined(_AIX) || defined(__hpux)
|
||||
#include <sys/types.h>
|
||||
#include <arpa/nameser_compat.h>
|
||||
|
||||
@ -30,9 +27,6 @@
|
||||
#include <standards.h>
|
||||
#include <sys/endian.h>
|
||||
|
||||
#elif defined(__hpux)
|
||||
#include <arpa/nameser_compat.h>
|
||||
|
||||
#else
|
||||
#include_next <machine/endian.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user