termux-packages/packages/pick/src-pick.c.patch

14 lines
367 B
Diff
Raw Normal View History

2016-02-18 05:12:49 +01:00
diff -u -r ../pick-1.3.0/src/pick.c ./src/pick.c
--- ../pick-1.3.0/src/pick.c 2016-02-12 03:48:41.000000000 -0500
+++ ./src/pick.c 2016-02-17 22:50:26.050698229 -0500
@@ -14,6 +14,9 @@
#include <termios.h>
#include <unistd.h>
+/* For CTRL macro: */
+#include <sys/ttydefaults.h>
+
#ifdef HAVE_NCURSESW_H
#include <ncursesw/curses.h>
#include <ncursesw/term.h>