瀏覽代碼
librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
SVN-Revision: 32686
Felix Fietkau
13 年之前
|
|
@@ -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
|