Code: Select all
In file included from /opt/devkitpro/libnds/include/nds.h:280:
In file included from /opt/devkitpro/libnds/include/nds/arm9/nand.h:32:
In file included from /opt/devkitpro/devkitARM/arm-none-eabi/include/unistd.h:4:
/opt/devkitpro/devkitARM/arm-none-eabi/include/sys/unistd.h
Not sure what much can be done about this from the devkitARM side, short of just manually providing a `ssize_t` typedef to remove the dependency on "unistd.h". Also not particularly high-priority, since any erroneously included function declaration will lead to a link error if actually used.
Also, separate issue, but seems like the `nds/arm9/nand.h` include should be gated by an `#ifdef`, no? I suppose it's already compiled into the static library, and presumably has graceful fallback if called on an NDS.