Code

include ncursesw/ncurses.h if available
[ncmpc.git] / src / support.h
index 5d67b8fa7bec91b0e8a1f7b04bad9efb63c6a509..95bde46913338d65f307a810b6409b584af90cc3 100644 (file)
@@ -3,17 +3,6 @@
 
 #include <glib.h>
 
-#ifdef HAVE_LIBGEN_H
-#include <libgen.h>
-#endif
-
-#ifndef HAVE_BASENAME
-char *basename(char *path);
-#endif
-
-#define IS_WHITESPACE(c) (c==' ' || c=='\t' || c=='\r' || c=='\n')
-
-char *remove_trailing_slash(char *path);
 const char *strcasestr(const char *haystack, const char *needle);
 
 typedef struct {
@@ -23,4 +12,4 @@ typedef struct {
 
 char *strscroll(char *str, char *separator, int width, scroll_state_t *st);
 
-#endif 
+#endif