Various fixes.
[pspp] / lib / strcase.h
index fa5a68dc1e54dc29d5e13d75a1aa08820d1dd11c..07d4c9a42bb99a929b8985b7dafcc09fa2d66545 100644 (file)
@@ -43,7 +43,9 @@ extern int strcasecmp (const char *s1, const char *s2);
    returning less than, equal to or greater than zero if S1 is
    lexicographically less than, equal to or greater than S2.
    Note: This function can not work correctly in multibyte locales.  */
+#if ! HAVE_DECL_STRNCASECMP
 extern int strncasecmp (const char *s1, const char *s2, size_t n);
+#endif
 
 
 #ifdef __cplusplus