From 89d2ad35e60c1d72102eb3504f2b20b4977b3e7f Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 8 Oct 2003 11:17:36 +0000 Subject: [PATCH] Added missing includes. --- lib/waitpid.c | 3 +++ src/extract.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.45.2