Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 340f911f9e3f4ff6b01682c5341c959060782af2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 2 Apr 2015 19:18:45 -0700 |
| 4 | Subject: [PATCH] usb.h: Include sys/types.h |
| 5 | |
| 6 | We need the definitions for things like u_intX_t |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | libusb/usb.h | 2 ++ |
| 13 | 1 file changed, 2 insertions(+) |
| 14 | |
| 15 | diff --git a/libusb/usb.h b/libusb/usb.h |
| 16 | index 84e730f..caffae2 100644 |
| 17 | --- a/libusb/usb.h |
| 18 | +++ b/libusb/usb.h |
| 19 | @@ -31,6 +31,8 @@ |
| 20 | |
| 21 | #include <dirent.h> |
| 22 | |
| 23 | +#include <sys/types.h> |
| 24 | + |
| 25 | /* |
| 26 | * USB spec information |
| 27 | * |
| 28 | -- |
| 29 | 2.1.4 |
| 30 | |