aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch
blob: f4f759c85e2d9b97aaf1a6981ec01051031e30e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 840795dcb48214b74cfde75e7ce5e8a1a6c64a46 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 fa0e6c6..4e88eb8 100644
--- a/libusb/usb.h
+++ b/libusb/usb.h
@@ -45,6 +45,8 @@ typedef unsigned __int32  uint32_t;
 #include <stdint.h>
 #endif
 
+#include <sys/types.h>
+
 /*
  * USB spec information
  *