@@ -16,12 +16,16 @@ #include "config.h" #include -#include -#include +#ifdef HAVE_DIRENT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif #ifdef HAVE_PWD_H # include #endif #ifdef HAVE_GRP_H