X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcanonicalize.c;h=8c48b4205895348631abac98e8ac0af47819e0ba;hb=39bc7a80b6719b1c7d0f8fb1b01380649cb8e358;hp=84368a493a72c4f5e3e3fa8eb892873e6a6ba8c1;hpb=7c3f8da8f075e3813ced160d5b53a28c6f7dfe78;p=gnulib.git diff --git a/lib/canonicalize.c b/lib/canonicalize.c index 84368a493..8c48b4205 100644 --- a/lib/canonicalize.c +++ b/lib/canonicalize.c @@ -1,5 +1,5 @@ /* Return the canonical absolute name of a given file. - Copyright (C) 1996-2005 Free Software Foundation, Inc. + Copyright (C) 1996-2006 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 by @@ -16,9 +16,7 @@ If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include #include "canonicalize.h" @@ -38,10 +36,12 @@ #include "cycle-check.h" #include "filenamecat.h" -#include "stat-macros.h" #include "xalloc.h" #include "xgetcwd.h" +#ifndef ELOOP +# define ELOOP 0 +#endif #ifndef __set_errno # define __set_errno(Val) errno = (Val) #endif