Again, POSIX says strcasecmp is not in string.h.
---
 src/lib/icu/Collate.cxx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/icu/Collate.cxx b/src/lib/icu/Collate.cxx
index f6621eb..7542c0e 100644
--- a/src/lib/icu/Collate.cxx
+++ b/src/lib/icu/Collate.cxx
@@ -38,6 +38,9 @@
 
 #include <assert.h>
 #include <string.h>
+#if HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 #ifdef HAVE_ICU
 static UCollator *collator;
-- 
2.1.0.rc1

_______________________________________________
mpd-devel mailing list
[email protected]
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to