* 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 8634882ec8ef845b7df2db1487390fb1b2aa66cd..e57195ab76a9b3605fb408e070cd74781f45f7af 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 dccb4724c0bd9abd7c82e3552d2deb26a15daefc..63dfb6dc5e237a6e0dd83dac8b29a582589f7782 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