diff options
-rw-r--r-- | lib/openat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/openat.c b/lib/openat.c index 20c217d97..69d4c23f9 100644 --- a/lib/openat.c +++ b/lib/openat.c @@ -24,8 +24,10 @@ #include "openat.h" #include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */ +#include "fcntl--.h" #include "openat-priv.h" #include "save-cwd.h" +#include "unistd--.h" #include <stdarg.h> #include <stddef.h> @@ -71,7 +73,7 @@ openat (int fd, char const *file, int flags, ...) If a previous attempt to restore the current working directory failed, then we must not even try to access a `.'-relative name. - It is the caller's responsibility to not to call this function + It is the caller's responsibility not to call this function in that case. */ int |