attr: fix compilation with GCC 14
[feed/packages.git] / utils / attr / patches / 200-basename.patch
diff --git a/utils/attr/patches/200-basename.patch b/utils/attr/patches/200-basename.patch
new file mode 100644 (file)
index 0000000..81c3112
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/tools/attr.c
++++ b/tools/attr.c
+@@ -27,6 +27,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <string.h>
++#include <libgen.h>
+ #include <locale.h>
+ #include <attr/attributes.h>