summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b83d9e3)
raw | patch | inline | side by side (parent: b83d9e3)
author | Max Kellermann <max@duempel.org> | |
Mon, 8 Dec 2008 22:30:19 +0000 (23:30 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 8 Dec 2008 22:30:19 +0000 (23:30 +0100) |
If the system library provides strcasestr(), don't do an extra
declaration in support.h.
declaration in support.h.
src/support.h | patch | blob | history |
diff --git a/src/support.h b/src/support.h
index 48786e8e23f5706255253d9aacbb281410c96e1c..bebbbdad0c60fa05762fb9d8230b763135e5984e 100644 (file)
--- a/src/support.h
+++ b/src/support.h
#include <glib.h>
+#ifndef HAVE_STRCASESTR
const char *strcasestr(const char *haystack, const char *needle);
+#endif
#ifndef NCMPC_MINI