gdb-76-pid_t.patch (340B)
1 --- gdb-7.6.2.org/gdb/common/linux-ptrace.h 2 +++ gdb-7.6.2/gdb/common/linux-ptrace.h 3 @@ -67,6 +67,7 @@ 4 #define __WALL 0x40000000 /* Wait for any child. */ 5 #endif 6 7 +#include <unistd.h> /* for pid_t */ 8 extern void linux_ptrace_attach_warnings (pid_t pid, struct buffer *buffer); 9 extern void linux_ptrace_init_warnings (void); 10