summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-22 17:14:35 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-22 17:14:35 +0100
commit87a59efc9476cc12d3e79b1afb55b9e59984b450 (patch)
tree1342f08e80c579de62753357893f1eeea9c7b1a8 /compat.h
parentd48f0e114e747243a41406e77967ff77bd93b3bb (diff)
Log ncurses and utf8proc versions.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index 736a14fc..df8aa562 100644
--- a/compat.h
+++ b/compat.h
@@ -27,6 +27,12 @@
#include <termios.h>
#include <wchar.h>
+#if defined(HAVE_CURSES_H)
+#include <curses.h>
+#elif defined(HAVE_NCURSES_H)
+#include <ncurses.h>
+#endif
+
#ifndef __GNUC__
#define __attribute__(a)
#endif