Version: 5.0
Platform: sco5

`bfd/sysdep.h' does not try to use available system definitions of
str{,n}casecmp in <strings.h>.  This might cause conflicts between
them and gdb own ones.  The patch is

--- bfd/sysdep.h        2000/06/16 16:51:04     1.1
+++ bfd/sysdep.h        2000/06/16 16:54:32     1.2
@@ -40,13 +40,15 @@
 
 #ifdef HAVE_STRING_H
 #include <string.h>
-#else
+#endif
 #ifdef HAVE_STRINGS_H
 #include <strings.h>
-#else
+#endif
+#if (!defined (HAVE_STRING_H) && !defined (HAVE_STRINGS_H))
 extern char *strchr ();
 extern char *strrchr ();
-#endif
+extern int     strcasecmp();
+extern int     strncasecmp();
 #endif
 
 #ifdef HAVE_STDLIB_H

Reply via email to