Don't include sys/types.h when using NATIVEINCLUDES