From 05e11a59347558a7bbca1bd6e8ada77efe5106ec Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 19 Jan 2016 18:27:20 -0800 Subject: gdb: Fix build failures on musl mode_t is needed by gdbserver headers so include sys/types.h to get them (From OE-Core rev: b0742a41e80c48de98f82f7d1e963d462c941934) Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/gdb/gdb.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/gdb/gdb.inc') 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}" -- cgit v1.2.3-54-g00ecf