Andrew Geissler | 2ee498a | 2020-05-29 15:52:06 -0500 | [diff] [blame] | 1 | From 840795dcb48214b74cfde75e7ce5e8a1a6c64a46 Mon Sep 17 00:00:00 2001 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 16 | index ea62543..18b610a 100644 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | --- a/libusb/usb.h |
| 18 | +++ b/libusb/usb.h |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 19 | @@ -46,6 +46,8 @@ typedef unsigned __int32 uint32_t; |
Andrew Geissler | 2ee498a | 2020-05-29 15:52:06 -0500 | [diff] [blame] | 20 | #include <stdint.h> |
| 21 | #endif |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | |
| 23 | +#include <sys/types.h> |
| 24 | + |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 25 | /* On linux PATH_MAX is defined in linux/limits.h. */ |
| 26 | #if defined(__linux__) |
| 27 | #include <linux/limits.h> |
| 28 | -- |
| 29 | 2.34.1 |
| 30 | |