Include <sys/types.h> before <dirent.h>, needed on -current. Thanks to Chuck Robey <chuckr@glue.umd.edu> for pointing this out.