summaryrefslogtreecommitdiff
path: root/package/gdb/patches/7.8.2/patch-gdb_common_linux-ptrace_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdb/patches/7.8.2/patch-gdb_common_linux-ptrace_h')
-rw-r--r--package/gdb/patches/7.8.2/patch-gdb_common_linux-ptrace_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gdb/patches/7.8.2/patch-gdb_common_linux-ptrace_h b/package/gdb/patches/7.8.2/patch-gdb_common_linux-ptrace_h
new file mode 100644
index 000000000..51e2c3637
--- /dev/null
+++ b/package/gdb/patches/7.8.2/patch-gdb_common_linux-ptrace_h
@@ -0,0 +1,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