aboutsummaryrefslogtreecommitdiff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/netdb.h')
-rw-r--r--resolv/netdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index b70639b930..6b76a25d3f 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -27,6 +27,11 @@
#include <netinet/in.h>
#include <stdint.h>
+#ifdef __USE_MISC
+/* This is necessary to make this include file properly replace the
+ Sun version. */
+# include <rpc/netdb.h>
+#endif
#ifdef __USE_GNU
# define __need_sigevent_t