summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-19 18:15:11 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-19 18:15:11 +0000
commit3f86681211296c40fdb031c62b9abe71d6611156 (patch)
treea00563121d5f6fa53f89ba0fae1d153dbc2f89f8
parent616f7797b0d3f6d5ab9b6ae07efc42e759d75790 (diff)
Guard the reentrant prototypes w/ appropiate config option
-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;