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

--- gdb-7.8.2.orig/gdb/common/linux-ptrace.h	2015-01-15 11:58:12.000000000 +0100
+++ gdb-7.8.2/gdb/common/linux-ptrace.h	2016-09-21 10:34:30.005221389 +0200
@@ -20,6 +20,7 @@
 
 struct buffer;
 
+#include <unistd.h>
 #include <sys/ptrace.h>
 
 #ifdef __UCLIBC__