mirror of https://github.com/openwrt/packages.git
attr: fix compilation with GCC 14
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>pull/24124/head
parent
6a007dcabb
commit
39dad4ff47
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=attr
|
||||
PKG_VERSION:=2.5.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://git.savannah.nongnu.org/cgit/attr.git/snapshot
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue