diff --git a/src/colors.h b/src/colors.h
index b612a33ce0ba93a8b5a8ee4573a574ab899a5dd9..051aa9e26b76b6e050aabaf270d1f2ba690b534d 100644 (file)
--- a/src/colors.h
+++ b/src/colors.h
#ifndef COLORS_H
#define COLORS_H
+#include "config.h"
+
#include <ncurses.h>
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 */