mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
Merge branch 'master' of https://github.com/coolsnowwolf/lede
This commit is contained in:
commit
9c8da88756
19
package/lean/wol/patches/001-fix-build-on-x86.patch
Normal file
19
package/lean/wol/patches/001-fix-build-on-x86.patch
Normal file
@ -0,0 +1,19 @@
|
||||
diff --git a/lib/getline.h b/lib/getline.h
|
||||
index 991184c..e41865c 100644
|
||||
--- a/lib/getline.h
|
||||
+++ b/lib/getline.h
|
||||
@@ -27,6 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
# endif
|
||||
# endif
|
||||
|
||||
+# ifdef _MUSL_
|
||||
# if __GLIBC__ < 2
|
||||
int
|
||||
getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
|
||||
@@ -34,5 +35,6 @@ getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
|
||||
int
|
||||
getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
|
||||
# endif
|
||||
+# endif
|
||||
|
||||
#endif /* not GETLINE_H_ */
|
Loading…
Reference in New Issue
Block a user