diff options
author | Philippe Mathieu-Daudé | 2021-08-23 12:04:54 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2021-08-31 14:31:43 +0200 |
commit | b956577af1b88e950bf2aa5f77be6c8aee04e879 (patch) | |
tree | 15442c98c1e10ffedf5e409586aa8990d75d8b63 /include/ui | |
parent | hw/display: Restrict virtio-gpu-udmabuf stubs to !Linux (diff) | |
download | qemu-b956577af1b88e950bf2aa5f77be6c8aee04e879.tar.gz qemu-b956577af1b88e950bf2aa5f77be6c8aee04e879.tar.xz qemu-b956577af1b88e950bf2aa5f77be6c8aee04e879.zip |
ui/console: Restrict udmabuf_fd() to Linux
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210823100454.615816-3-philmd@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index b30b63976a..3be21497a2 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -471,7 +471,9 @@ bool vnc_display_reload_certs(const char *id, Error **errp); /* input.c */ int index_from_key(const char *key, size_t key_length); +#ifdef CONFIG_LINUX /* udmabuf.c */ int udmabuf_fd(void); +#endif #endif |