2007-08-06 Simon Josefsson <simon@josefsson.org>
[gnulib.git] / lib / pagealign_alloc.c
index cbbe763..6c2043c 100644 (file)
@@ -1,6 +1,6 @@
 /* Memory allocation aligned to system page boundaries.
 
-   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
@@ -34,7 +34,6 @@
 #endif
 
 #include "error.h"
-#include "exit.h"
 #include "getpagesize.h"
 #include "xalloc.h"
 #include "gettext.h"
 # endif
 #endif
 
+/* The results of open() in this file are not used with fchdir,
+   therefore save some unnecessary work in fchdir.c.  */
+#undef open
+#undef close
+
 
 #if HAVE_MMAP || ! HAVE_POSIX_MEMALIGN