瀏覽代碼

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

SVN-Revision: 32686
Felix Fietkau 13 年之前
父節點
當前提交
f600a611ad
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      package/librpc/patches/100-compat_fix.patch

+ 11 - 0
package/librpc/patches/100-compat_fix.patch

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