termux-packages/packages/pv/src-pv-cursor.c.patch

12 lines
349 B
Diff

diff -u -r ../pv-1.6.0/src/pv/cursor.c ./src/pv/cursor.c
--- ../pv-1.6.0/src/pv/cursor.c 2015-03-15 00:37:18.000000000 +0000
+++ ./src/pv/cursor.c 2017-07-07 00:05:58.507914275 +0000
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <libgen.h> /* For basename(). */
#ifdef HAVE_IPC
#include <sys/ipc.h>