aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_play.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-10 19:55:37 +0100
committerMax Kellermann <max@duempel.org>2008-12-10 19:55:37 +0100
commitde82a840d22c418351036c09a7fb466d1ffb4efd (patch)
tree30f9427206a123dd4e5b5e0084e52a536c877407 /src/screen_play.c
parentaf8b511c67840ce2baa18c5cfe3abff9639c5ed1 (diff)
downloadmpd-de82a840d22c418351036c09a7fb466d1ffb4efd.tar.gz
mpd-de82a840d22c418351036c09a7fb466d1ffb4efd.tar.xz
mpd-de82a840d22c418351036c09a7fb466d1ffb4efd.zip
hscroll: don't compile source in ncmpc-mini mode
This source is not required with --enable-mini.
Diffstat (limited to '')
-rw-r--r--src/screen_play.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/screen_play.c b/src/screen_play.c
index f8f65ba62..f48254c7a 100644
--- a/src/screen_play.c
+++ b/src/screen_play.c
@@ -20,7 +20,6 @@
#include "i18n.h"
#include "charset.h"
#include "options.h"
-#include "hscroll.h"
#include "mpdclient.h"
#include "utils.h"
#include "strfsong.h"
@@ -31,6 +30,10 @@
#include "screen_utils.h"
#include "screen_play.h"
+#ifndef NCMPC_MINI
+#include "hscroll.h"
+#endif
+
#include <ctype.h>
#include <stdlib.h>
#include <string.h>