changeset 14170:d256c4a2fbf1

save-cwd: no longer include "xgetcwd.h" * lib/save-cwd.c: Don't include "xgetcwd.h"; it's no longer used. This avoids a compilation failure in projects that use save-cwd without also using the xgetcwd module.
author Rob Vermaas <rob.vermaas@gmail.com>
date Wed, 12 Jan 2011 10:08:53 +0100
parents d5718604e475
children 97273629690f
files ChangeLog lib/save-cwd.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-12  Rob Vermaas  <rob.vermaas@gmail.com>
+
+	save-cwd: no longer include "xgetcwd.h"
+	* lib/save-cwd.c: Don't include "xgetcwd.h"; it's no longer used.
+	This avoids a compilation failure in projects that use save-cwd
+	without also using the xgetcwd module.
+
 2011-01-11  Paul Eggert  <eggert@cs.ucla.edu>
 
 	ftoastr: split into 3 modules ftoastr, dtoastr, ldtoastr
--- a/lib/save-cwd.c
+++ b/lib/save-cwd.c
@@ -30,7 +30,6 @@
 
 #include "chdir-long.h"
 #include "unistd--.h"
-#include "xgetcwd.h"
 #include "cloexec.h"
 
 #if GNULIB_FCNTL_SAFER