9 struct group; /* silence warning */
10 struct passwd; /* silence warning */
11 struct timeval; /* silence warning */
12 struct timezone; /* silence warning */
14 #ifdef HAVE_SYS_TIMERS_H
15 #include <sys/timers.h>
19 #ifdef ISC_PLATFORM_NEEDTIMESPEC
20 #include <time.h> /* For time_t */
22 time_t tv_sec; /* seconds */
23 long tv_nsec; /* nanoseconds */
27 #define memmove(a,b,c) bcopy(b,a,c)
100 #if !defined(NGR_R_SET_ARGS) && defined(NGR_R_END_ARGS)
101 #define NGR_R_SET_ARGS NGR_R_END_ARGS
147 #define DE_CONST(konst, var) \
149 union { const void *k; void *v; } _u; \
154 #define UNUSED(x) (x) = (x)
160 #define ISC_FORMAT_PRINTF(fmt, args) \
161 __attribute__((__format__(__printf__, fmt, args)))
163 #define ISC_FORMAT_PRINTF(fmt, args)
166 /* Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. */
167 #if defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
168 #include <sys/byteorder.h>