#define TimeZoneOffset timezone
#define u8 unsigned char

#include <limits.h>
/* POSIX 1003.1-2001 says <unistd.h> defines this */
#ifndef HOST_NAME_MAX
# define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
#endif

#ifndef s6_addr16
# define s6_addr16 __u6_addr.__u6_addr16
#endif

#ifndef s6_addr32
# define s6_addr32 __u6_addr.__u6_addr32
#endif

#define NEED_SIN_LEN

/* Needed for proper handling of udpfromto */
#define __APPLE_USE_RFC_3542

/* Linux and KAME use this */
#ifndef IPSEC_MANUAL_REQID_MAX
# define IPSEC_MANUAL_REQID_MAX  0x3fff
#endif
