#define _XOPEN_SOURCE 600
#define _GNU_SOURCE 1
#define _BSD_SOURCE 1
#define _ISOC99_SOURCE 1
#define __EXTENSIONS__ 1
#define __BEGIN_DECLS
#define __END_DECLS
/* Solaris does not have these 'errno' values */
#define EFTYPE EINVAL
#define EPROGMISMATCH EINVAL
#define REG_STARTEND 0
#define INFTIM -1
#define ALIGNBYTES (sizeof(size_t) - 1) /* ?? */
#define ALIGN(p) (((unsigned)(p) + ALIGNBYTES) & ~ALIGNBYTES)
#define mergesort(a,b,c,d) (qsort(a,b,c,d), 0)
#define timegm mktime /* XXX */
#define u_int8_t uint8_t
#define u_int16_t uint16_t
#define u_int32_t uint32_t
#define u_int64_t uint64_t
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>