rpio: Include sys/types.h for caddr_t

Fixes build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2016-02-27 15:26:49 +00:00
committed by Andrei Gherzan
parent 9295c7fd71
commit bcb26ed634
2 changed files with 33 additions and 3 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://README.rst;beginline=41;endline=53;md5=d5d95d7486a4d9
SRCNAME = "RPIO"
SRC_URI = "\
http://pypi.python.org/packages/source/R/RPIO/${SRCNAME}-${PV}.tar.gz \
"
SRC_URI = "http://pypi.python.org/packages/source/R/RPIO/${SRCNAME}-${PV}.tar.gz \
file://0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools