aboutsummaryrefslogtreecommitdiff
path: root/debug/tst-longjmp_chk3.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-11-26 19:26:13 +0100
committerFlorian Weimer <fweimer@redhat.com>2024-11-26 23:01:28 +0100
commit4836a9af89f1b4d482e6c72ff67e36226d36434c (patch)
tree0063fdd5a557ac6ee69a39feece7e5211088581b /debug/tst-longjmp_chk3.c
parent3b1c5a539b7b8cb833f22012d1a95a4847594747 (diff)
downloadglibc-4836a9af89f1b4d482e6c72ff67e36226d36434c.zip
glibc-4836a9af89f1b4d482e6c72ff67e36226d36434c.tar.gz
glibc-4836a9af89f1b4d482e6c72ff67e36226d36434c.tar.bz2
debug: Fix tst-longjmp_chk3 build failure on Hurd
Explicitly include <unistd.h> for _exit and getpid.
Diffstat (limited to 'debug/tst-longjmp_chk3.c')
-rw-r--r--debug/tst-longjmp_chk3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/tst-longjmp_chk3.c b/debug/tst-longjmp_chk3.c
index 7bf1646..9b9db3b 100644
--- a/debug/tst-longjmp_chk3.c
+++ b/debug/tst-longjmp_chk3.c
@@ -20,6 +20,7 @@
#include <signal.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include <support/support.h>