summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rpc/netdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h
index 539d8c326..86717373c 100644
--- a/include/rpc/netdb.h
+++ b/include/rpc/netdb.h
@@ -56,7 +56,7 @@ extern struct rpcent *getrpcbyname (__const char *__name) __THROW;
extern struct rpcent *getrpcbynumber (int __number) __THROW;
extern struct rpcent *getrpcent (void) __THROW;
-#ifdef __USE_MISC
+#if defined __USE_MISC && defined __UCLIBC_HAS_REENTRANT_RPC__
extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf,
char *__buffer, size_t __buflen,
struct rpcent **__result) __THROW;