changeset 27232:eb9d740b1288

* 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 8fcc75ae6ab7
children 12b2aae279c9
files ChangeLog lib/canonicalize.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Oct 21 22:10:06 2006 +0000
+++ b/ChangeLog	Sun Oct 22 07:32:17 2006 +0000
@@ -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	Sat Oct 21 22:10:06 2006 +0000
+++ b/lib/canonicalize.c	Sun Oct 22 07:32:17 2006 +0000
@@ -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