* 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__
