summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-12 16:24:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-12 16:24:01 +0000
commit55077b1b6377c0bc947fbe252a4c74cbeac2fdc5 (patch)
treec785c517f969d6dd5d16239d4c6ff17aa4009f5b
parentf5ba758ab334a953a86cee572fc32a8953c92975 (diff)
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
-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 6040567c3..a0f03f6e5 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