aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/res_init.c')
-rw-r--r--resolv/res_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c
index d0559c3..078480c 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -161,6 +161,10 @@ __res_vinit(res_state statp, int preinit) {
#ifndef RFC1535
int dots;
#endif
+#ifdef _LIBC
+ extern unsigned long long int __res_initstamp attribute_hidden;
+ statp->_u._ext.initstamp = __res_initstamp;
+#endif
if (!preinit) {
statp->retrans = RES_TIMEOUT;