Commit 89545d6d authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Gabriel Laskar

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: default avatarMikko Rapeli <mikko.rapeli@iki.fi>
parent 8e51012c
...@@ -287,7 +287,7 @@ struct virtio_gpu_get_capset { ...@@ -287,7 +287,7 @@ struct virtio_gpu_get_capset {
/* VIRTIO_GPU_RESP_OK_CAPSET */ /* VIRTIO_GPU_RESP_OK_CAPSET */
struct virtio_gpu_resp_capset { struct virtio_gpu_resp_capset {
struct virtio_gpu_ctrl_hdr hdr; struct virtio_gpu_ctrl_hdr hdr;
uint8_t capset_data[]; __u8 capset_data[];
}; };
#define VIRTIO_GPU_EVENT_DISPLAY (1 << 0) #define VIRTIO_GPU_EVENT_DISPLAY (1 << 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment