summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/string.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 04a81347d..0382bbcd7 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-29 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * libc/include/string.h: Correct guard for strcasecmp().
+
2014-10-29 Terry Guo <terry.guo@arm.com>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index 8fb3563cc..af5c9da4d 100644
--- a/newlib/libc/include/string.h
+++ b/newlib/libc/include/string.h
@@ -69,7 +69,7 @@ char *_EXFUN(rindex,(const char *, int));
#endif
char *_EXFUN(stpcpy,(char *__restrict, const char *__restrict));
char *_EXFUN(stpncpy,(char *__restrict, const char *__restrict, size_t));
-#if __BSD_VISIBLE
+#if __BSD_VISIBLE || __POSIX_VISIBLE
int _EXFUN(strcasecmp,(const char *, const char *));
#endif
#if __GNU_VISIBLE