#include #include #define u8 __u8 #define TimeZoneOffset timezone #include /* POSIX 1003.1-2001 says defines this */ #ifndef HOST_NAME_MAX /* some don't even use _POSIX_HOST_NAME_MAX */ # ifdef _POSIX_HOST_NAME_MAX # define HOST_NAME_MAX _POSIX_HOST_NAME_MAX # else # define HOST_NAME_MAX 255 /* last resort */ # endif #endif /* * This normally comes in via bind9/config.h * Fixes a warning in lib/libisc/random.c:44 */ #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 /* * Not all environments set this? happened on a arm_tools cross compile */ #ifndef linux # define linux #endif /* udpfromto socket option for Linux */ #define HAVE_UDPFROMTO 1 #define HAVE_IP_PKTINFO 1 /* Linux and KAME use this */ #ifndef IPSEC_MANUAL_REQID_MAX # define IPSEC_MANUAL_REQID_MAX 0x3fff #endif