aboutsummaryrefslogtreecommitdiffstats
path: root/src/colors.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/colors.h')
-rw-r--r--src/colors.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/colors.h b/src/colors.h
index b612a33ce..051aa9e26 100644
--- a/src/colors.h
+++ b/src/colors.h
@@ -1,6 +1,8 @@
#ifndef COLORS_H
#define COLORS_H
+#include "config.h"
+
#include <ncurses.h>
enum color {
@@ -20,9 +22,12 @@ enum color {
short colors_str2color(const char *str);
+#ifdef ENABLE_COLORS
int colors_assign(const char *name, const char *value);
int colors_define(const char *name, short r, short g, short b);
int colors_start(void);
+#endif
+
int colors_use(WINDOW *w, enum color id);
#endif /* COLORS_H */