diff options
author | Cortland Tölva <cst@tolva.net> | 2018-10-08 09:35:20 -0700 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-10-19 14:04:17 +0200 |
commit | 6c753a63eda27f2a35bda211d1fa490aebbc7459 (patch) | |
tree | cb69d9960bd0faefc56018459cd2b809ff23fa44 /linux-user/syscall.c | |
parent | 955727d29d9dcede8207d675238942476a7f5b22 (diff) |
linux-user: Define ordinary usbfs ioctls.
Provide ioctl definitions for the generic thunk mechanism to
convert most usbfs calls. Calculate arg size at runtime.
Signed-off-by: Cortland Tölva <cst@tolva.net>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20181008163521.17341-3-cst@tolva.net>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index d2cc971143..6eb20c14c9 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -94,6 +94,9 @@ #include <linux/fiemap.h> #endif #include <linux/fb.h> +#if defined(CONFIG_USBFS) +#include <linux/usbdevice_fs.h> +#endif #include <linux/vt.h> #include <linux/dm-ioctl.h> #include <linux/reboot.h> |