blob: f4f759c85e2d9b97aaf1a6981ec01051031e30e1 [file] [log] [blame]
Andrew Geissler2ee498a2020-05-29 15:52:06 -05001From 840795dcb48214b74cfde75e7ce5e8a1a6c64a46 Mon Sep 17 00:00:00 2001
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 2 Apr 2015 19:18:45 -0700
4Subject: [PATCH] usb.h: Include sys/types.h
5
6We need the definitions for things like u_intX_t
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
Andrew Geissler2ee498a2020-05-29 15:52:06 -050011
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012---
13 libusb/usb.h | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/libusb/usb.h b/libusb/usb.h
Andrew Geissler2ee498a2020-05-29 15:52:06 -050017index fa0e6c6..4e88eb8 100644
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018--- a/libusb/usb.h
19+++ b/libusb/usb.h
Andrew Geissler2ee498a2020-05-29 15:52:06 -050020@@ -45,6 +45,8 @@ typedef unsigned __int32 uint32_t;
21 #include <stdint.h>
22 #endif
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023
24+#include <sys/types.h>
25+
26 /*
27 * USB spec information
28 *