diff --git a/tools/debug/ptrace.c b/tools/debug/ptrace.c index e3f24ab..48a7356 100644 --- a/tools/debug/ptrace.c +++ b/tools/debug/ptrace.c @@ -48,7 +48,8 @@ typedef struct _DebuggerDebug PtraceDebug; /* platform */ -#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__linux__) \ + || defined(__NetBSD__) typedef int ptrace_data_t; #endif