librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Jul 2012 16:24:01 +0000 (16:24 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Jul 2012 16:24:01 +0000 (16:24 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32686 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/librpc/patches/100-compat_fix.patch

index 6040567..a0f03f6 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