termux-packages/packages/figlet/figlet.c.patch

12 lines
350 B
Diff

diff -u -r ../figlet-2.2.5/figlet.c ./figlet.c
--- ../figlet-2.2.5/figlet.c 2012-06-01 14:51:09.000000000 +0200
+++ ./figlet.c 2014-08-02 09:58:04.931697896 +0200
@@ -69,6 +69,7 @@
#ifdef unix
#include <unistd.h>
#include <sys/ioctl.h> /* Needed for get_columns */
+#include <termios.h> /* Needed for struct winsize */
#endif
#ifdef TLF_FONTS