Added missing includes.
This commit is contained in:
@@ -20,6 +20,9 @@
|
|||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifndef errno
|
#ifndef errno
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include <quotearg.h>
|
#include <quotearg.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#if HAVE_UTIME_H
|
#if HAVE_UTIME_H
|
||||||
# include <utime.h>
|
# include <utime.h>
|
||||||
@@ -407,7 +408,7 @@ make_directories (char *file_name)
|
|||||||
else if ((errno == ENOSYS /* Automounted dirs on Solaris return
|
else if ((errno == ENOSYS /* Automounted dirs on Solaris return
|
||||||
this. Reported by Warren Hyde
|
this. Reported by Warren Hyde
|
||||||
<Warren.Hyde@motorola.com> */
|
<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)
|
&& access (file_name, W_OK) == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user