summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libusb/libusb-compat_0.1.5.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-04-06 17:36:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-15 18:12:41 +0100
commit0c045cab74be20caf8a4469dd560c466f12c9ba7 (patch)
tree3bc318fd214a9189650e2ef2b474ca06905a8314 /meta/recipes-support/libusb/libusb-compat_0.1.5.bb
parent8d6080ebe0ec5cdcf9d1d35fd3fe57a49519ac54 (diff)
downloadpoky-0c045cab74be20caf8a4469dd560c466f12c9ba7.tar.gz
libusb-compat: Include sys/types.h in usb.h
Fixes compile errors when usb.h is included in other packages, it expects sys/types.h to be there, instead it should include it itself Change-Id: Ib49477b7d3f3cd97d65c9578bdc33f2ee33f5a26 (From OE-Core master rev: 577b5c6ce6753b9ae3587da47caf6ecfac358668) (From OE-Core rev: 833165b96b8b51292ad9758a491abce7f380f6de) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libusb/libusb-compat_0.1.5.bb')
-rw-r--r--meta/recipes-support/libusb/libusb-compat_0.1.5.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/libusb/libusb-compat_0.1.5.bb b/meta/recipes-support/libusb/libusb-compat_0.1.5.bb
index 74761d6a44..646872cb96 100644
--- a/meta/recipes-support/libusb/libusb-compat_0.1.5.bb
+++ b/meta/recipes-support/libusb/libusb-compat_0.1.5.bb
@@ -18,7 +18,9 @@ BBCLASSEXTEND = "native nativesdk"
18 18
19PE = "1" 19PE = "1"
20 20
21SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2" 21SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \
22 file://0001-usb.h-Include-sys-types.h.patch \
23 "
22 24
23SRC_URI[md5sum] = "2780b6a758a1e2c2943bdbf7faf740e4" 25SRC_URI[md5sum] = "2780b6a758a1e2c2943bdbf7faf740e4"
24SRC_URI[sha256sum] = "404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a" 26SRC_URI[sha256sum] = "404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a"