* lib/canonicalize.c (ELOOP): Define if not already defined.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Oct 2006 07:32:17 +0000 (07:32 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Oct 2006 07:32:17 +0000 (07:32 +0000)
Problem reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00282.html>.

ChangeLog
lib/canonicalize.c

index 8634882..e57195a 100644 (file)
--- 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>.
index dccb472..63dfb6d 100644 (file)
@@ -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