termux-packages/packages/mc/lib-tty-tty.c.patch

12 lines
380 B
Diff

diff -u -r ../mc-4.8.11/lib/tty/tty.c ./lib/tty/tty.c
--- ../mc-4.8.11/lib/tty/tty.c 2013-11-29 19:27:07.000000000 +0100
+++ ./lib/tty/tty.c 2014-01-08 12:02:35.217251791 +0100
@@ -34,6 +34,7 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h> /* memset() */
+#include <termios.h>
#include <unistd.h> /* exit() */
#ifdef HAVE_SYS_IOCTL_H