termux-packages/packages/attr/attr.c.patch

12 lines
349 B
Diff

diff -u -r ../attr-2.4.47/attr/attr.c ./attr/attr.c
--- ../attr-2.4.47/attr/attr.c 2013-05-19 06:53:54.000000000 +0200
+++ ./attr/attr.c 2017-02-02 21:51:24.680776395 +0100
@@ -26,6 +26,7 @@
#include <errno.h>
#include <string.h>
#include <locale.h>
+#include <libgen.h> /* for basename(3) */
#include <attr/attributes.h>
#include "config.h"