summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-11-26 19:26:13 +0100
committerH.J. Lu <hjl.tools@gmail.com>2025-08-19 09:01:21 -0700
commite4bd849a5d7586a37db3cb0f83e6b4df3d8ef7e4 (patch)
treef82bbd11f6579f3850ecf2b11734fcadf3962b69
parent4db5358c9c101c64128e43943f8e096964b3a921 (diff)
debug: Fix tst-longjmp_chk3 build failure on Hurd
Explicitly include <unistd.h> for _exit and getpid. (cherry picked from commit 4836a9af89f1b4d482e6c72ff67e36226d36434c)
-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 f1562c4b09..34413e1288 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>