save-cwd: no longer include "xgetcwd.h"
authorRob Vermaas <rob.vermaas@gmail.com>
Wed, 12 Jan 2011 09:08:53 +0000 (10:08 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 12 Jan 2011 09:08:53 +0000 (10:08 +0100)
* 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.

ChangeLog
lib/save-cwd.c

index 0a2d05821c78f1ec882ca308e2c990a7b2fa34d9..8cffb3a4345fb40e35e01755f004fe63fd63cf51 100644 (file)
--- 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
index 48016704aecbdc074190b88475600ac498c3fad7..16ffa2c490477b8d42fd20afa5c9957a1d52123f 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "chdir-long.h"
 #include "unistd--.h"
-#include "xgetcwd.h"
 #include "cloexec.h"
 
 #if GNULIB_FCNTL_SAFER