The file include/uapi/linux/usb/cdc-wdm.h uses a __u16 so it needs to include types.h as well to make the build system happy.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -9,6 +9,8 @@ · 8 unmodified lines | ||
| 9 | 9 | #ifndef _UAPI__LINUX_USB_CDC_WDM_H |
| 10 | 10 | #define _UAPI__LINUX_USB_CDC_WDM_H |
| 11 | 11 | |
| 12 | +#include <linux/types.h> | |
| 13 | + | |
| 12 | 14 | /* |
| 13 | 15 | * This IOCTL is used to retrieve the wMaxCommand for the device, |
| 14 | 16 | * defining the message limit for both reading and writing. |