[glibc] aarch64: fix includes in SME tests

Yury Khrustalev ykhrustalev@sourceware.org
Wed Nov 12 14:47:17 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a9c426bcca59a9e228c4fbe75e75154217ec4ada

commit a9c426bcca59a9e228c4fbe75e75154217ec4ada
Author: Yury Khrustalev <yury.khrustalev@arm.com>
Date:   Tue Nov 11 11:40:25 2025 +0000

    aarch64: fix includes in SME tests
    
    Use the correct include for the SIGCHLD macro: signal.h
    
    Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>

Diff:
---
 sysdeps/aarch64/tst-sme-clone.c  | 1 +
 sysdeps/aarch64/tst-sme-clone3.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysdeps/aarch64/tst-sme-clone.c b/sysdeps/aarch64/tst-sme-clone.c
index 7106ec7926..b6ad54fa37 100644
--- a/sysdeps/aarch64/tst-sme-clone.c
+++ b/sysdeps/aarch64/tst-sme-clone.c
@@ -19,6 +19,7 @@
 
 #include "tst-sme-skeleton.c"
 
+#include <signal.h>
 #include <support/xsched.h>
 
 static int
diff --git a/sysdeps/aarch64/tst-sme-clone3.c b/sysdeps/aarch64/tst-sme-clone3.c
index 402b040cfd..f420d5984d 100644
--- a/sysdeps/aarch64/tst-sme-clone3.c
+++ b/sysdeps/aarch64/tst-sme-clone3.c
@@ -22,7 +22,7 @@
 #include <clone3.h>
 
 #include <errno.h>
-#include <sys/wait.h>
+#include <signal.h>
 #include <support/xsched.h>
 
 /* Since clone3 is not a public symbol, we link this test explicitly


More information about the Glibc-cvs mailing list