Skip to content

Commit

Permalink
fix compilation without PTRACE_EVENT_STOP
Browse files Browse the repository at this point in the history
for test vfork_done
copied from 34a9f5d ptrace_kill_grandtracee.c
  • Loading branch information
GitMensch authored and rocallahan committed Oct 1, 2023
1 parent 503c5cd commit f65cb78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/vfork_done.c
Original file line number Diff line number Diff line change
@@ -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 <math.h>
#include <signal.h>

Expand Down

0 comments on commit f65cb78

Please sign in to comment.