diff options
Diffstat (limited to 'lib/bind/port_before.h.in')
-rw-r--r-- | lib/bind/port_before.h.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/bind/port_before.h.in b/lib/bind/port_before.h.in index 320fff1905a9..0b00821ba6a9 100644 --- a/lib/bind/port_before.h.in +++ b/lib/bind/port_before.h.in @@ -12,6 +12,16 @@ struct timezone; /* silence warning */ #endif #include <limits.h> +#ifdef ISC_PLATFORM_NEEDTIMESPEC +#include <time.h> /* For time_t */ +struct timespec { + time_t tv_sec; /* seconds */ + long tv_nsec; /* nanoseconds */ +}; +#endif +#ifndef HAVE_MEMMOVE +#define memmove(a,b,c) bcopy(b,a,c) +#endif @WANT_IRS_GR@ @WANT_IRS_NIS@ |