summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 85e792408d..b20d99ee6f 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -21,11 +21,10 @@ char* get_term_charset(void);
#if defined(FOR_MENCODER)
#undef CONFIG_GUI
int use_gui;
-#endif
-
-#ifdef CONFIG_GUI
+#else
#include "gui/interface.h"
#endif
+
#include "mp_msg.h"
/* maximum message length of mp_msg */