Skip to content

Commit db71d0a

Browse files
committed
Fix alpine build
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
1 parent 0bf979e commit db71d0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tracer/live_debugger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void dd_start_debugger_timeout(void) {
6565
struct sigevent sev = {0};
6666
sev.sigev_notify = SIGEV_THREAD_ID;
6767
sev.sigev_signo = SIGVTALRM;
68-
sev._sigev_un._tid = (pid_t)syscall(SYS_gettid); // gettid() is glibc 2.30 only
68+
sev.sigev_notify_thread_id = (pid_t)syscall(SYS_gettid); // gettid() is glibc 2.30 only
6969
if (timer_create(CLOCK_THREAD_CPUTIME_ID, &sev, &DDTRACE_G(capture_timer)) == 0) {
7070
struct itimerspec it = {
7171
.it_value = { .tv_sec = ms / 1000, .tv_nsec = (ms % 1000) * 1000000LL },

0 commit comments

Comments
 (0)