summaryrefslogtreecommitdiff
path: root/package/gdb/patches/patch-gdb_common_linux-ptrace_h
blob: 51e2c363727273c16c7865480874186db22b09a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
* added from https://github.com/rofl0r/sabotage

--- gdb-7.6.orig/gdb/common/linux-ptrace.h	2013-01-01 07:32:54.000000000 +0100
+++ gdb-7.6/gdb/common/linux-ptrace.h	2013-08-13 17:10:13.000000000 +0200
@@ -20,6 +20,7 @@
 
 struct buffer;
 
+#include <unistd.h>
 #include <sys/ptrace.h>
 
 #ifndef PTRACE_GETSIGINFO