aboutsummaryrefslogtreecommitdiff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/netdb.h')
-rw-r--r--resolv/netdb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 3aba530932..9a409c0445 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -35,8 +35,7 @@
#ifdef __USE_GNU
# define __need_sigevent_t
# include <bits/siginfo.h>
-# define __need_timespec
-# include <time.h>
+# include <bits/types/struct_timespec.h>
#endif
#include <bits/netdb.h>