diff options
author | Max Kellermann <max@duempel.org> | 2008-12-08 23:30:19 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-08 23:30:19 +0100 |
commit | 1e4ba65c87c4a62e8445420b1ba748a73a9cf887 (patch) | |
tree | 0dd73f4b0ec15ed4962937351a443268f1084d66 | |
parent | b83d9e3c95757ab55cddbdd7c22886dacbe106e5 (diff) | |
download | mpd-1e4ba65c87c4a62e8445420b1ba748a73a9cf887.tar.gz mpd-1e4ba65c87c4a62e8445420b1ba748a73a9cf887.tar.xz mpd-1e4ba65c87c4a62e8445420b1ba748a73a9cf887.zip |
support: don't declare strcasestr() if provided by the system
If the system library provides strcasestr(), don't do an extra
declaration in support.h.
-rw-r--r-- | src/support.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/support.h b/src/support.h index 48786e8e2..bebbbdad0 100644 --- a/src/support.h +++ b/src/support.h @@ -24,7 +24,9 @@ #include <glib.h> +#ifndef HAVE_STRCASESTR const char *strcasestr(const char *haystack, const char *needle); +#endif #ifndef NCMPC_MINI |