X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fextract.c;h=9d00c80bf3877f21574d7ef8c9ec06f9e0290a49;hb=80e978dc2e3b4f5311cba15bc0876fb52113bd66;hp=a3877583437c98147c240aa93847e01e7c690630;hpb=c1b9212b16a53da408548efa3f9c8b1a62335b42;p=chaz%2Ftar diff --git a/src/extract.c b/src/extract.c index a387758..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,7 +408,7 @@ make_directories (char *file_name) else if ((errno == ENOSYS /* Automounted dirs on Solaris return this. Reported by Warren Hyde */ - || ERRNO_IS_EACCESS) /* Turbo C mkdir gives a funny errno. */ + || ERRNO_IS_EACCES) /* Turbo C mkdir gives a funny errno. */ && access (file_name, W_OK) == 0) continue;