diff --git a/config/mkdepend/include.c b/config/mkdepend/include.c index 4daf5149d11..3b89f263066 100644 --- a/config/mkdepend/include.c +++ b/config/mkdepend/include.c @@ -45,7 +45,7 @@ static int does_file_exist(char *file) { struct stat sb; - return stat(file, &sb) == 0 && !IS_DIR(sb.st_mode); + return stat(file, &sb) == 0 && !S_ISDIR(sb.st_mode); } #endif