diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2015-12-02 23:17:47 +0100 |
---|---|---|
committer | Gabriel Laskar <gabriel@lse.epita.fr> | 2015-12-10 12:33:23 +0100 |
commit | 89545d6d5cb0fab53211d6a36a8037c8020e1b7e (patch) | |
tree | b02025ffb0b26cd42fce03a8a2cab1225d4449ea | |
parent | 8e51012c4f2c6b4f2a318c71e1b43f552e6d2a2c (diff) |
include/uapi/linux/virtio_gpu.h: use __u8 from <linux/types.h>
Kernel headers exported to userspace are should these types.
Fixes userspace compilation error:
error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
-rw-r--r-- | include/uapi/linux/virtio_gpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h index 7a63faa9065c..4b04ead26cd9 100644 --- a/include/uapi/linux/virtio_gpu.h +++ b/include/uapi/linux/virtio_gpu.h @@ -287,7 +287,7 @@ struct virtio_gpu_get_capset { /* VIRTIO_GPU_RESP_OK_CAPSET */ struct virtio_gpu_resp_capset { struct virtio_gpu_ctrl_hdr hdr; - uint8_t capset_data[]; + __u8 capset_data[]; }; #define VIRTIO_GPU_EVENT_DISPLAY (1 << 0) |