* also include <dirent.h> on mingw