aboutsummaryrefslogtreecommitdiffstats
path: root/support.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-22 19:37:17 +0000
committerKalle Wallin <kaw@linux.se>2004-03-22 19:37:17 +0000
commit740715e48c06d79963bb192292cb802f02a03a4d (patch)
tree1e04c149c4f11eaca61c914fb874d965054e6979 /support.h
parent8070f9392e545a7b87ebb188d025afc5358c98f1 (diff)
downloadmpd-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.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/support.h b/support.h
index c0b9c34dc..da5ac5ed8 100644
--- a/support.h
+++ b/support.h
@@ -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);