2014-06-30 13:56:08 +02:00
|
|
|
From a20f33ad121fb1e9d1fbc31a0044546450677e7a Mon Sep 17 00:00:00 2001
|
2012-11-04 08:34:10 +01:00
|
|
|
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
Date: Sat, 23 Jun 2012 21:58:07 +0200
|
2012-11-10 12:42:39 +01:00
|
|
|
Subject: [PATCH] uClibc without RPC support does not install rpcent.h
|
2012-11-04 08:34:10 +01:00
|
|
|
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
---
|
2014-06-30 13:56:08 +02:00
|
|
|
tirpc/rpc/rpcent.h | 5 +++--
|
2012-11-10 12:42:41 +01:00
|
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
2012-11-04 08:34:10 +01:00
|
|
|
|
|
|
|
diff --git a/tirpc/rpc/rpcent.h b/tirpc/rpc/rpcent.h
|
2014-06-30 13:56:08 +02:00
|
|
|
index c865e51..45775ed 100644
|
2012-11-04 08:34:10 +01:00
|
|
|
--- a/tirpc/rpc/rpcent.h
|
|
|
|
+++ b/tirpc/rpc/rpcent.h
|
2012-11-10 12:42:41 +01:00
|
|
|
@@ -46,8 +46,9 @@
|
|
|
|
|
2012-11-04 08:34:10 +01:00
|
|
|
__BEGIN_DECLS
|
|
|
|
|
2012-11-10 12:42:41 +01:00
|
|
|
-/* These are defined in /usr/include/rpc/netdb.h */
|
2012-11-04 08:34:10 +01:00
|
|
|
-#if 0
|
2012-11-10 12:42:41 +01:00
|
|
|
+/* These are defined in /usr/include/rpc/netdb.h, unless we are using
|
|
|
|
+ the C library without RPC support. */
|
|
|
|
+#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__)
|
2012-11-04 08:34:10 +01:00
|
|
|
struct rpcent {
|
|
|
|
char *r_name; /* name of server for this rpc program */
|
|
|
|
char **r_aliases; /* alias list */
|
|
|
|
--
|
2014-06-30 13:56:08 +02:00
|
|
|
2.0.0
|
2012-11-04 08:34:10 +01:00
|
|
|
|