summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-01-19 18:27:20 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-26 22:41:48 +0000
commitb0742a41e80c48de98f82f7d1e963d462c941934 (patch)
treeb0e6c4c5caa69fb9a3d34aafbc028a5b0e67c412 /meta/recipes-devtools/gdb/gdb.inc
parent6340624949ee2e556e46381d7144c989f0945ae0 (diff)
downloadopenembedded-core-b0742a41e80c48de98f82f7d1e963d462c941934.tar.gz
gdb: Fix build failures on musl
mode_t is needed by gdbserver headers so include sys/types.h to get them Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index e970450fa3..4ea14c19f8 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -5,6 +5,7 @@ inherit gettext
SRC_URI += "file://0002-Change-order-of-CFLAGS.patch \
file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \
file://0001-Use-exported-definitions-of-SIGRTMIN.patch \
+ file://0001-include-sys-types.h-for-mode_t.patch \
"
#LDFLAGS_append = " -s"
#export CFLAGS_append=" -L${STAGING_LIBDIR}"