@@ -158,6 +158,12 @@ | |||
#include <machine/endian.h> | |||
#elif defined(__sun) | |||
#include <sys/byteorder.h> | |||
#ifndef LITTLE_ENDIAN | |||
#define LITTLE_ENDIAN 1234 | |||
#endif | |||
#ifndef BIG_ENDIAN | |||
#define BIG_ENDIAN 4321 | |||
#endif | |||
#ifdef _LITTLE_ENDIAN | |||
#define BYTE_ORDER LITTLE_ENDIAN | |||
#else |
@@ -24,6 +24,7 @@ | |||
#ifndef DNS_PRIVATE_H_ | |||
#define DNS_PRIVATE_H_ | |||
#include "config.h" | |||
#include "uthash.h" | |||
#include "utlist.h" | |||
#include "rdns.h" |