]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Tue, 9 Oct 2001 00:51:07 +0000 (00:51 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 9 Oct 2001 00:51:07 +0000 (00:51 +0000)
on plaforms with no gettimeofday(), use struct _TIMEZONE instead of
struct timezone

lib/bind/port_after.h.in

index 8c7df1b794b3cd5758e8fd6844df1a15d26067ad..f396093b462c2229e449944a911a7cc1dcb3d6a5 100644 (file)
@@ -335,7 +335,11 @@ int setpassent(int stayopen);
 #endif
 
 #define gettimeofday isc__gettimeofday
+#ifdef NEED_GETTIMEOFDAY
+int isc__gettimeofday(struct timeval *tvp, struct _TIMEZONE *tzp);
+#else
 int isc__gettimeofday(struct timeval *tp, struct timezone *tzp);
+#endif
 
 int getnetgrent(const char **machinep, const char **userp,
                const char **domainp);