X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fprogreloc.c;h=cb97959992d36d9f4d5ca5eb737275b0671b17b9;hb=4ad44dd748d5da39555cdf305568280d69a23354;hp=6986e1edb035809f38b2290fc68f27cfa563134b;hpb=318cd4fb068ae9332577a181f8cbb51a457a0bce;p=gnulib.git diff --git a/lib/progreloc.c b/lib/progreloc.c index 6986e1edb..cb9795999 100644 --- a/lib/progreloc.c +++ b/lib/progreloc.c @@ -17,9 +17,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include /* Specification. */ #include "progname.h" @@ -79,6 +77,11 @@ # define FILE_SYSTEM_PREFIX_LEN(P) 0 #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 + #undef set_program_name