diff options
author | Max Kellermann <max@duempel.org> | 2008-11-25 21:11:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-25 21:11:23 +0100 |
commit | a992f12521da4f9024f8022ea6b8aa3794ea5a99 (patch) | |
tree | b55567c86e780a597e8633aa150510d006639806 /src/support.h | |
parent | e8e36c5003ebaf4b4057916eeecc8e90d1435c90 (diff) | |
download | mpd-a992f12521da4f9024f8022ea6b8aa3794ea5a99.tar.gz mpd-a992f12521da4f9024f8022ea6b8aa3794ea5a99.tar.xz mpd-a992f12521da4f9024f8022ea6b8aa3794ea5a99.zip |
ncmpc-mini: disable scrolling
The scrolling code broke in the ncmpc-mini build. Disable it when
--enable-mini was specified.
Diffstat (limited to 'src/support.h')
-rw-r--r-- | src/support.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/support.h b/src/support.h index 95bde4691..f7c08325d 100644 --- a/src/support.h +++ b/src/support.h @@ -1,10 +1,14 @@ #ifndef SUPPORT_H #define SUPPORT_H +#include "config.h" + #include <glib.h> const char *strcasestr(const char *haystack, const char *needle); +#ifndef NCMPC_MINI + typedef struct { gsize offset; GTime t; /* GTime is equivalent to time_t */ @@ -13,3 +17,5 @@ typedef struct { char *strscroll(char *str, char *separator, int width, scroll_state_t *st); #endif + +#endif |