librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
authorFelix Fietkau <nbd@openwrt.org>
Thu, 12 Jul 2012 16:24:01 +0000 (16:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 12 Jul 2012 16:24:01 +0000 (16:24 +0000)
SVN-Revision: 32686

package/librpc/patches/100-compat_fix.patch

index 6040567c31629a4d7b6de906278fc19c669135cd..a0f03f6e5a77529840f11e8542d705be0be38912 100644 (file)
 +
 +
 +#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