[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tools/attr.c: Add missing libgen.h include for basename(3)
From: |
Haelwenn (lanodan) Monnier |
Subject: |
[PATCH] tools/attr.c: Add missing libgen.h include for basename(3) |
Date: |
Sat, 30 Mar 2024 10:17:10 +0100 |
Fixes compilation issue with musl and modern C99 compilers.
See: https://bugs.gentoo.org/926294
---
tools/attr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/attr.c b/tools/attr.c
index f12e4af..6a3c1e9 100644
--- 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>
--
2.43.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] tools/attr.c: Add missing libgen.h include for basename(3),
Haelwenn (lanodan) Monnier <=