From: Max Kellermann Date: Mon, 8 Dec 2008 22:30:19 +0000 (+0100) Subject: support: don't declare strcasestr() if provided by the system X-Git-Tag: release-0.13~81 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1e4ba65c87c4a62e8445420b1ba748a73a9cf887;p=ncmpc.git 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. --- diff --git a/src/support.h b/src/support.h index 48786e8..bebbbda 100644 --- a/src/support.h +++ b/src/support.h @@ -24,7 +24,9 @@ #include +#ifndef HAVE_STRCASESTR const char *strcasestr(const char *haystack, const char *needle); +#endif #ifndef NCMPC_MINI