summaryrefslogtreecommitdiff
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
commitf600a611adf3e8fd7413d48d2504db60b3c76c23 (patch)
tree93ca0eef96e6afc5d99e80590484890ffd287f0f
parenta1f0b3a771361ec9203c51c9d26a89eed6ac4da0 (diff)
downloadmtk-20170518-f600a611adf3e8fd7413d48d2504db60b3c76c23.zip
mtk-20170518-f600a611adf3e8fd7413d48d2504db60b3c76c23.tar.gz
mtk-20170518-f600a611adf3e8fd7413d48d2504db60b3c76c23.tar.bz2
librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
SVN-Revision: 32686
-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 6040567..a0f03f6 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