Check for these headers: locale.h unistd.h mach/mach.h fcntl.h.