]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
debug: Fix tst-longjmp_chk3 build failure on Hurd
authorFlorian Weimer <fweimer@redhat.com>
Tue, 26 Nov 2024 18:26:13 +0000 (19:26 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 26 Nov 2024 22:01:28 +0000 (23:01 +0100)
Explicitly include <unistd.h> for _exit and getpid.

debug/tst-longjmp_chk3.c

index 7bf1646b354fd2febb6588dff52b1e113176ffa7..9b9db3b9e9e37d54239a79164579d23027128913 100644 (file)
@@ -20,6 +20,7 @@
 #include <signal.h>
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 
 #include <support/support.h>