diff --git a/harbour/source/rtl/files.c b/harbour/source/rtl/files.c index 0c2b083a97..ed1ce696f3 100644 --- a/harbour/source/rtl/files.c +++ b/harbour/source/rtl/files.c @@ -362,7 +362,7 @@ static int _fsDirectory(char * dirname, struct dirent *** nlist) { int result=-1; #if defined(HAVE_POSIX_IO) - #if defined(__BORLANDC__) + #if defined(__BORLANDC__) || defined(__DJGPP__) /* TODO borland does not scandir() in it's dirent.h what needs to be done here?? */ #else