summaryrefslogtreecommitdiff
path: root/recipes-core/libusb/libusb-compat
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-12-05 18:11:44 -0600
committerJohn Klug <john.klug@multitech.com>2017-12-05 18:11:44 -0600
commit07ba917a4433d44a559ed8db0bd7ee4fb85a2ad0 (patch)
tree9bb893e5b617de2a4415906685e974b8341fa732 /recipes-core/libusb/libusb-compat
parent531ce0abd2472ff6fc65843fb7d5a73af38f7826 (diff)
downloadmeta-mlinux-07ba917a4433d44a559ed8db0bd7ee4fb85a2ad0.tar.gz
meta-mlinux-07ba917a4433d44a559ed8db0bd7ee4fb85a2ad0.tar.bz2
meta-mlinux-07ba917a4433d44a559ed8db0bd7ee4fb85a2ad0.zip
libusb1-1.0.21
Diffstat (limited to 'recipes-core/libusb/libusb-compat')
-rw-r--r--recipes-core/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-core/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch b/recipes-core/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
new file mode 100644
index 0000000..b88440d
--- /dev/null
+++ b/recipes-core/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
+