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 0a2d058..8cffb3a 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 4801670..16ffa2c 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "chdir-long.h"
 #include "unistd--.h"
-#include "xgetcwd.h"
 #include "cloexec.h"
 
 #if GNULIB_FCNTL_SAFER