1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Support for AIX header locations in net.c module

This commit is contained in:
Paul Bakker
2013-07-26 14:10:22 +02:00
parent 66c4810ffe
commit 1e6a175362
2 changed files with 4 additions and 1 deletions

View File

@@ -64,10 +64,12 @@ static int wsa_init_done = 0;
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \
defined(__DragonflyBSD__)
#include <sys/endian.h>
#elif defined(__APPLE__)
#elif defined(__APPLE__) || defined(HAVE_MACHINE_ENDIAN_H)
#include <machine/endian.h>
#elif defined(sun)
#include <sys/isa_defs.h>
#elif defined(_AIX) || defined(HAVE_ARPA_NAMESER_COMPAT_H)
#include <arpa/nameser_compat.h>
#else
#include <endian.h>
#endif