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
This commit is contained in:
Felix Fietkau
2012-07-12 16:24:01 +00:00
parent a20ec2f0b9
commit 46be77553c

View File

@@ -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