aboutsummaryrefslogtreecommitdiffstats
path: root/support.h
diff options
context:
space:
mode:
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);