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