summaryrefslogtreecommitdiffstats
path: root/include/tig/line.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tig/line.h')
-rw-r--r--include/tig/line.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tig/line.h b/include/tig/line.h
index 83941a94..fd5bad17 100644
--- a/include/tig/line.h
+++ b/include/tig/line.h
@@ -17,7 +17,9 @@
#include "tig/tig.h"
struct ref;
+#if defined(NCURSES_VERSION_PATCH) && NCURSES_VERSION_PATCH >= 20180127
extern short color_pairs_map[257][257];
+#endif
/*
* Line-oriented content detection.