From: Sergey Poznyakoff Date: Wed, 8 Oct 2003 11:17:36 +0000 (+0000) Subject: Added missing includes. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=89d2ad35e60c1d72102eb3504f2b20b4977b3e7f;p=chaz%2Ftar Added missing includes. --- diff --git a/lib/waitpid.c b/lib/waitpid.c index f2b4235..3360f07 100644 --- a/lib/waitpid.c +++ b/lib/waitpid.c @@ -20,6 +20,9 @@ # include #endif +#include +#include + #include #ifndef errno extern int errno; 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;