Skip to content

Commit

Permalink
attr: fix build with GCC 14.x
Browse files Browse the repository at this point in the history
Add a trivial patch in order to do so.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
  • Loading branch information
rsalvaterra committed May 8, 2024
1 parent f2464fb commit 9ecf991
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions utils/attr/patches/103-fix_gcc_14_build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/tools/attr.c
+++ b/tools/attr.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <string.h>
#include <locale.h>
+#include <libgen.h>

#include <attr/attributes.h>

0 comments on commit 9ecf991

Please sign in to comment.