- use dirent.h instead of sys/dir.h - use FILENAME_MAX instead of NAME_MAX - use uintXX_t instead of u_intXX_t