X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fextract.c;h=9d00c80bf3877f21574d7ef8c9ec06f9e0290a49;hb=89d2ad35e60c1d72102eb3504f2b20b4977b3e7f;hp=a3877583437c98147c240aa93847e01e7c690630;hpb=bf6b473b3b98e1ecd46e588a2d3c7f59a52b9a11;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;