changeset 7541:22a37df64e25

* lib/canonicalize.c (ELOOP): Define if not already defined. Problem reported by Bruno Haible in <http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00282.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 22 Oct 2006 07:32:17 +0000
parents 62249b8c227f
children 998cb998efab
files ChangeLog lib/canonicalize.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* lib/canonicalize.c (ELOOP): Define if not already defined.
+	Problem reported by Bruno Haible in
+	<http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00282.html>.
+
 b2006-10-21  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* lib/stdint_.h [defined _AIX]: Don't include <sys/types.h>.
--- a/lib/canonicalize.c
+++ b/lib/canonicalize.c
@@ -40,6 +40,9 @@
 #include "xalloc.h"
 #include "xgetcwd.h"
 
+#ifndef ELOOP
+# define ELOOP 0
+#endif
 #ifndef __set_errno
 # define __set_errno(Val) errno = (Val)
 #endif