Retro68
Retro68 copied to clipboard
Include order is wrong
It seems that lib/gcc/m68k-apple-macos/9.1.0/include-fixed/limits.h gets included instead of m68k-apple-macos/include/limits.h when using #include <limits.h>. The latter has an #include_next for the former, so they need to be swapped in include search order so that both get used.. The result of the wrong order is that PATH_MAX is undefined.