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 <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2016-01-19 18:27:20 -08:00
committed by Richard Purdie
parent 72c1aa2a6d
commit 05e11a5934
2 changed files with 31 additions and 0 deletions

View File

@@ -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}"