summaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/patches/910-missing_header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gdb/patches/910-missing_header.patch')
-rw-r--r--toolchain/gdb/patches/910-missing_header.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/910-missing_header.patch b/toolchain/gdb/patches/910-missing_header.patch
new file mode 100644
index 0000000000..e3a5cc70bd
--- /dev/null
+++ b/toolchain/gdb/patches/910-missing_header.patch
@@ -0,0 +1,11 @@
+--- a/gdb/inferior.h
++++ b/gdb/inferior.h
+@@ -21,6 +21,8 @@
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
++#include <sys/types.h>
++
+ #if !defined (INFERIOR_H)
+ #define INFERIOR_H 1
+