aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-25 21:11:23 +0100
committerMax Kellermann <max@duempel.org>2008-11-25 21:11:23 +0100
commita992f12521da4f9024f8022ea6b8aa3794ea5a99 (patch)
treeb55567c86e780a597e8633aa150510d006639806 /src/support.h
parente8e36c5003ebaf4b4057916eeecc8e90d1435c90 (diff)
downloadmpd-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.h6
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