From 030ffa018bead6b5db0dfb243de957f577d61254 Mon Sep 17 00:00:00 2001 From: Simon Sobisch Date: Wed, 13 Sep 2023 12:15:03 +0000 Subject: [PATCH] fix compilation without PTRACE_EVENT_STOP for test vfork_done copied from 34a9f5d ptrace_kill_grandtracee.c --- src/test/vfork_done.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/vfork_done.c b/src/test/vfork_done.c index 616d98f6cde..349ba45cb54 100644 --- a/src/test/vfork_done.c +++ b/src/test/vfork_done.c @@ -1,6 +1,10 @@ /* -*- Mode: C; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ #include "util.h" +#ifndef PTRACE_EVENT_STOP +#define PTRACE_EVENT_STOP 128 +#endif + #include #include