Declare readdir in file.h