From f039b8f8bf678a454d8263bb7cc8f6ade9cce51b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 28 Nov 2004 21:03:08 +0000 Subject: [PATCH] Include "chdir.h", so that if save_cwd/getcwd saves a name longer than PATH_MAX, restore_cwd's chdir can use it. --- lib/save-cwd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/save-cwd.c b/lib/save-cwd.c index 93b1fe85ca..76590d01ea 100644 --- a/lib/save-cwd.c +++ b/lib/save-cwd.c @@ -41,6 +41,7 @@ # define O_DIRECTORY 0 #endif +#include "chdir.h" #include "save-cwd.h" #include "xgetcwd.h" -- 2.47.2