]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include "chdir.h", so that if save_cwd/getcwd
authorJim Meyering <jim@meyering.net>
Sun, 28 Nov 2004 21:03:08 +0000 (21:03 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 28 Nov 2004 21:03:08 +0000 (21:03 +0000)
saves a name longer than PATH_MAX, restore_cwd's chdir can use it.

lib/save-cwd.c

index 93b1fe85ca8817227da174accf5eed327b513ce7..76590d01ea05ac89ddb567f6ea7d98ff40444fdd 100644 (file)
@@ -41,6 +41,7 @@
 # define O_DIRECTORY 0
 #endif
 
+#include "chdir.h"
 #include "save-cwd.h"
 #include "xgetcwd.h"