summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
blob: 5d19380e30505f077567aa664cd586dd6b0fa443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From ff37f9360ab6f841f28ced9f23f66542febcc0f6 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 19 Jan 2016 18:18:52 -0800
Subject: [PATCH 01/11] include sys/types.h for mode_t

mode_t is used in target.h, so we need to include sys/types.h to get the
defintion

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending

 gdb/gdbserver/target.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
index 25accd2207..7f6bca8aa4 100644
--- a/gdb/gdbserver/target.h
+++ b/gdb/gdbserver/target.h
@@ -29,6 +29,7 @@
 #include "mem-break.h"
 #include "btrace-common.h"
 #include <vector>
+#include <sys/types.h>
 
 struct emit_ops;
 struct buffer;
-- 
2.17.0