aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libusb/libusb-compat
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-07-27 12:19:14 +0100
committerKhem Raj <raj.khem@gmail.com>2018-07-27 19:26:51 -0700
commitd00b7bd416eceb4d6aa70a572832a05d6f9870c0 (patch)
treef44358e2d1b6ea5d2cfa42fe19d2c8ad4dfd9b9a /meta-oe/recipes-support/libusb/libusb-compat
parent9b743db42aa81b3ea4ca519c095f0836ba25a1d8 (diff)
downloadmeta-openembedded-contrib-d00b7bd416eceb4d6aa70a572832a05d6f9870c0.tar.gz
libusb-compat: add (from oe-core)
This is being removed from oe-core, so add to meta-oe as some recipes still claim to need it. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libusb/libusb-compat')
-rw-r--r--meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch b/meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
new file mode 100644
index 0000000000..b88440dec9
--- /dev/null
+++ b/meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
@@ -0,0 +1,30 @@
+From 340f911f9e3f4ff6b01682c5341c959060782af2 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 2 Apr 2015 19:18:45 -0700
+Subject: [PATCH] usb.h: Include sys/types.h
+
+We need the definitions for things like u_intX_t
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ libusb/usb.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libusb/usb.h b/libusb/usb.h
+index 84e730f..caffae2 100644
+--- a/libusb/usb.h
++++ b/libusb/usb.h
+@@ -31,6 +31,8 @@
+
+ #include <dirent.h>
+
++#include <sys/types.h>
++
+ /*
+ * USB spec information
+ *
+--
+2.1.4
+