From 8112ace84ba5d59ce72095cafa932635cd30fc26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=A4ssig?= Date: Wed, 27 Aug 2025 13:27:43 +0200 Subject: [PATCH] Fix alpine build --- src/hotspot/os/linux/compilerThreadTimeout_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp b/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp index 7ee741ff0112d..c19b3e648257f 100644 --- a/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp +++ b/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp @@ -94,7 +94,7 @@ bool CompilerThreadTimeoutLinux::init_timeout() { JavaThread* thread = JavaThread::current(); // Create a POSIX timer sending SIGALRM to this thread only. - sigevent_t sev; + struct sigevent sev; sev.sigev_value.sival_ptr = nullptr; sev.sigev_signo = TIMEOUT_SIGNAL; sev.sigev_notify = SIGEV_THREAD_ID;