aboutsummaryrefslogtreecommitdiff
path: root/sysutils/htop/files/patch-RichString.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/htop/files/patch-RichString.c')
-rw-r--r--sysutils/htop/files/patch-RichString.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/htop/files/patch-RichString.c b/sysutils/htop/files/patch-RichString.c
new file mode 100644
index 000000000000..0599728b1d7b
--- /dev/null
+++ b/sysutils/htop/files/patch-RichString.c
@@ -0,0 +1,14 @@
+--- RichString.c.orig
++++ RichString.c
+@@ -13,7 +13,11 @@
+ #include "debug.h"
+ #include <assert.h>
+ #ifdef HAVE_LIBNCURSESW
++# ifdef HAVE_NCURSESW_CURSES_H
+ #include <ncursesw/curses.h>
++# else
++#include <curses.h>
++# endif
+ #else
+ #include <curses.h>
+ #endif