diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-22 19:37:17 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-22 19:37:17 +0000 |
commit | 740715e48c06d79963bb192292cb802f02a03a4d (patch) | |
tree | 1e04c149c4f11eaca61c914fb874d965054e6979 /support.h | |
parent | 8070f9392e545a7b87ebb188d025afc5358c98f1 (diff) | |
download | mpd-740715e48c06d79963bb192292cb802f02a03a4d.tar.gz mpd-740715e48c06d79963bb192292cb802f02a03a4d.tar.xz mpd-740715e48c06d79963bb192292cb802f02a03a4d.zip |
Added an implementation of strcasecmp for non glibc systems.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@378 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | support.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,10 +1,19 @@ #ifdef HAVE_LIBGEN_H #include <libgen.h> -#else +#endif + + +#ifndef HAVE_BASENAME char *basename(char *path); #endif +#ifndef HAVE_STRCASESTR +char *strcasestr(const char *haystack, const char *needle); +#endif + +char *remove_trailing_slash(char *path); +char *lowerstr(char *str); int charset_init(void); |