X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fextract.c;h=9d00c80bf3877f21574d7ef8c9ec06f9e0290a49;hb=572225dfdcc2f36c50128ae40f90f5efaf1b7a2c;hp=26fcecbc49230fd62acc6e218be8d22e3ef1ca25;hpb=07286647fb7446a62e8690675797ba7426b0758b;p=chaz%2Ftar diff --git a/src/extract.c b/src/extract.c index 26fcecb..9d00c80 100644 --- a/src/extract.c +++ b/src/extract.c @@ -21,6 +21,7 @@ #include "system.h" #include +#include #if HAVE_UTIME_H # include @@ -407,10 +408,7 @@ make_directories (char *file_name) else if ((errno == ENOSYS /* Automounted dirs on Solaris return this. Reported by Warren Hyde */ -#if MSDOS - || errno == EACCES /* Turbo C mkdir gives a funny errno. */ -#endif - ) + || ERRNO_IS_EACCES) /* Turbo C mkdir gives a funny errno. */ && access (file_name, W_OK) == 0) continue;