diff mbox series

package/uclibc: fix compile with gcc 14.x

Message ID ZkHMhbT9Nq1M32sV@waldemar-brodkorb.de
State Accepted
Headers show
Series package/uclibc: fix compile with gcc 14.x | expand

Commit Message

Waldemar Brodkorb May 13, 2024, 8:17 a.m. UTC
Add missing header file.

Fixes:
 http://autobuild.buildroot.net/results/e022040c15e1b1aebc539a0ca0e00b5a1888ccfe

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 .../0001-futimesat-add-missing-header.patch   | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 package/uclibc/0001-futimesat-add-missing-header.patch

Comments

Thomas Petazzoni May 13, 2024, 7:59 p.m. UTC | #1
On Mon, 13 May 2024 10:17:09 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> Add missing header file.
> 
> Fixes:
>  http://autobuild.buildroot.net/results/e022040c15e1b1aebc539a0ca0e00b5a1888ccfe
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
>  .../0001-futimesat-add-missing-header.patch   | 26 +++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 package/uclibc/0001-futimesat-add-missing-header.patch

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/uclibc/0001-futimesat-add-missing-header.patch b/package/uclibc/0001-futimesat-add-missing-header.patch
new file mode 100644
index 0000000000..f8af3290fa
--- /dev/null
+++ b/package/uclibc/0001-futimesat-add-missing-header.patch
@@ -0,0 +1,26 @@ 
+From 4bcf25e75df857806623ff80924675bf849a60d2 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@openadk.org>
+Date: Wed, 8 May 2024 10:08:08 +0200
+Subject: [PATCH] futimesat: add missing header
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+Upstream: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=4bcf25e75df857806623ff80924675bf849a60d2
+---
+ libc/sysdeps/linux/common/futimesat.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libc/sysdeps/linux/common/futimesat.c b/libc/sysdeps/linux/common/futimesat.c
+index fd19fea7c..bf36550dd 100644
+--- a/libc/sysdeps/linux/common/futimesat.c
++++ b/libc/sysdeps/linux/common/futimesat.c
+@@ -7,6 +7,7 @@
+  */
+ 
+ #include <sys/syscall.h>
++#include <sys/stat.h>
+ #include <sys/time.h>
+ 
+ #ifdef __NR_futimesat
+-- 
+2.30.2
+