summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 7d76b9c26..99e02f050 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -27,7 +27,7 @@
#include <netinet/in.h>
#include <stdint.h>
-#ifdef __USE_MISC
+#if defined __USE_MISC && defined __UCLIBC_HAS_RPC__
/* This is necessary to make this include file properly replace the
Sun version. */
# include <rpc/netdb.h>