A simple "hello world" program would compile when including stdio.h but not when I added io.h, screaming:
error: io.h: No such file or directoryI thought gcc would search /usr/include/sys automatically, but it appears not. I have to tell it on the command line:
gcc -o andorsif andorsif.c -I /usr/include/sys -L /usr/include/sysAfter I cleared up that heap of doodoo then I still get errors from the program that look like:
error: ‘MAXPATH’ was not declared in this scopebut replacing incidences of MAXPATH with FILENAME_MAX seems to clear up that one.