librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc

SVN-Revision: 32686
This commit is contained in:
Felix Fietkau 2012-07-12 16:24:01 +00:00
parent a1f0b3a771
commit f600a611ad

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