summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch')
-rw-r--r--meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
index 4f06d46d70..5d19380e30 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
+++ b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
@@ -1,7 +1,7 @@
1From 91da0458b333249eb9c2f4c1f1e53fa4bc085cc9 Mon Sep 17 00:00:00 2001 1From ff37f9360ab6f841f28ced9f23f66542febcc0f6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 19 Jan 2016 18:18:52 -0800 3Date: Tue, 19 Jan 2016 18:18:52 -0800
4Subject: [PATCH 01/10] include sys/types.h for mode_t 4Subject: [PATCH 01/11] include sys/types.h for mode_t
5 5
6mode_t is used in target.h, so we need to include sys/types.h to get the 6mode_t is used in target.h, so we need to include sys/types.h to get the
7defintion 7defintion
@@ -14,17 +14,17 @@ Upstream-Status: Pending
14 1 file changed, 1 insertion(+) 14 1 file changed, 1 insertion(+)
15 15
16diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h 16diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
17index 3cc2bc4bab..e6b19b06b9 100644 17index 25accd2207..7f6bca8aa4 100644
18--- a/gdb/gdbserver/target.h 18--- a/gdb/gdbserver/target.h
19+++ b/gdb/gdbserver/target.h 19+++ b/gdb/gdbserver/target.h
20@@ -28,6 +28,7 @@ 20@@ -29,6 +29,7 @@
21 #include "target/waitstatus.h"
22 #include "mem-break.h" 21 #include "mem-break.h"
23 #include "btrace-common.h" 22 #include "btrace-common.h"
23 #include <vector>
24+#include <sys/types.h> 24+#include <sys/types.h>
25 25
26 struct emit_ops; 26 struct emit_ops;
27 struct buffer; 27 struct buffer;
28-- 28--
292.13.1 292.17.0
30 30