nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.71k stars 216 forks source link

Update ptrace.h: include <asm/ptrace.h> for Linux #116

Closed BKPepe closed 4 years ago

BKPepe commented 4 years ago

This fixes compilation error, which was found while using musl for powerpc:

In file included from attach.c:43:0:
ptrace.h:69:20: error: field 'regs' has incomplete type
     struct pt_regs regs;
                    ^~~~
<builtin>: recipe for target 'attach.o' failed
nelhage commented 4 years ago

Looks good to me, thanks!

BKPepe commented 4 years ago

Wow, that was fast. Thanks.