From 1e4ba65c87c4a62e8445420b1ba748a73a9cf887 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Dec 2008 23:30:19 +0100 Subject: 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. --- src/support.h | 2 ++ 1 file changed, 2 insertions(+) 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 +#ifndef HAVE_STRCASESTR const char *strcasestr(const char *haystack, const char *needle); +#endif #ifndef NCMPC_MINI -- cgit v1.2.3