Undefine strdup before defining it, because bits/string2.h may have
authordrepper <drepper>
Fri, 31 Jul 1998 11:13:35 +0000 (11:13 +0000)
committerdrepper <drepper>
Fri, 31 Jul 1998 11:13:35 +0000 (11:13 +0000)
defined it already.

sysdeps/generic/glob.c

index 7ab4899..bd92d68 100644 (file)
@@ -245,6 +245,7 @@ extern char *alloca ();
 #endif
 
 #ifdef _LIBC
+# undef strdup
 # define strdup(str) __strdup (str)
 # define sysconf(id) __sysconf (id)
 # define closedir(dir) __closedir (dir)