]> Dogcows Code - chaz/tar/commitdiff
Added missing includes.
authorSergey Poznyakoff <gray@gnu.org.ua>
Wed, 8 Oct 2003 11:17:36 +0000 (11:17 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Wed, 8 Oct 2003 11:17:36 +0000 (11:17 +0000)
lib/waitpid.c
src/extract.c

index f2b423577e9132fcee70331457bbd727373ced52..3360f0755837444cdba91b7288f504ee5b8acb62 100644 (file)
@@ -20,6 +20,9 @@
 # include <config.h>
 #endif
 
+#include <sys/types.h>
+#include <sys/stat.h>
+
 #include <errno.h>
 #ifndef errno
 extern int errno;
index a3877583437c98147c240aa93847e01e7c690630..9d00c80bf3877f21574d7ef8c9ec06f9e0290a49 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "system.h"
 #include <quotearg.h>
+#include <errno.h>
 
 #if HAVE_UTIME_H
 # include <utime.h>
@@ -407,7 +408,7 @@ make_directories (char *file_name)
       else if ((errno == ENOSYS /* Automounted dirs on Solaris return
                                   this. Reported by Warren Hyde
                                   <Warren.Hyde@motorola.com> */
-              || 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;
 
This page took 0.024904 seconds and 4 git commands to generate.