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

@ -33,6 +33,7 @@ Changes
Bugfix Bugfix
* Fixed parse error in ssl_parse_certificate_request() * Fixed parse error in ssl_parse_certificate_request()
* zlib compression/decompression skipped on empty blocks * zlib compression/decompression skipped on empty blocks
* Support for AIX header locations in net.c module
= Version 1.2.8 released 2013-06-19 = Version 1.2.8 released 2013-06-19
Features Features

View File

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