aboutsummaryrefslogtreecommitdiffstats
path: root/package/librpc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-12 16:24:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-12 16:24:01 +0000
commit46be77553c5ce793a211cd2022d4acc669004b5c (patch)
treec785c517f969d6dd5d16239d4c6ff17aa4009f5b /package/librpc
parenta20ec2f0b997868ca0ccf7f7b2ca00d432f866d4 (diff)
downloadupstream-46be77553c5ce793a211cd2022d4acc669004b5c.tar.gz
upstream-46be77553c5ce793a211cd2022d4acc669004b5c.tar.bz2
upstream-46be77553c5ce793a211cd2022d4acc669004b5c.zip
librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32686 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/librpc')
-rw-r--r--package/librpc/patches/100-compat_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/librpc/patches/100-compat_fix.patch b/package/librpc/patches/100-compat_fix.patch
index 6040567c31..a0f03f6e5a 100644
--- a/package/librpc/patches/100-compat_fix.patch
+++ b/package/librpc/patches/100-compat_fix.patch
@@ -201,3 +201,14 @@
+
+
+#endif
+--- a/rpc/netdb.h
++++ b/rpc/netdb.h
+@@ -41,6 +41,8 @@
+ #define __need_size_t
+ #include <stddef.h>
+
++#include "types.h"
++
+ __BEGIN_DECLS
+
+ struct rpcent