btw, the proposed patch above is overkill
it is sufficient to only change sys/fcntl.h to fcntl.h.
there are no other missing symbols.
i can tell this for sure since musl doesnt expose any superfluous symbols, unlike glibc which has the habit of including other headers (e.g. stdio.h there pulls in stdlib.h which is a namespace violation)
btw, the proposed patch above is overkill
it is sufficient to only change sys/fcntl.h to fcntl.h.
there are no other missing symbols.
i can tell this for sure since musl doesnt expose any superfluous symbols, unlike glibc which has the habit of including other headers (e.g. stdio.h there pulls in stdlib.h which is a namespace violation)