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