From 697cebb4c1a28e0dc5b76037cb912eb1ace700b3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 19 Jul 2022 07:48:48 +0100 Subject: [PATCH] Include curses properly for hyperlinks ifdef, from chrysn at fsfe dot org. --- tty-features.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tty-features.c b/tty-features.c index e387f823..64f0039a 100644 --- a/tty-features.c +++ b/tty-features.c @@ -21,6 +21,12 @@ #include #include +#if defined(HAVE_CURSES_H) +#include +#elif defined(HAVE_NCURSES_H) +#include +#endif + #include "tmux.h" /*