Open andrea-adami opened 3 years ago
Why doesn't musl have this header file?
It may very well be that the code needs declarations from this file.
@eriksl
Would you please accept this and revert https://github.com/OpenPLi/openpli-oe-core/commit/76b525c67cee8c07ab39299d8f91d23b3a9a7564 ?
Hi, musl libc just doesn't have it. If you check under /usr/include/sys, glibc sys/unistd.g is including unistd.h.
In fact it should be sufficient to include the latter, valid for both libc's. Cheers A.A.
fix following error:
| ../../git/src/webrequest.cpp:15:10: fatal error: sys/unistd.h: No such file or directory | 15 | #include <sys/unistd.h>
Signed-off-by: Andrea Adami andrea.adami@gmail.com