summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-08-23 12:04:54 +0200
committerGerd Hoffmann2021-08-31 14:31:43 +0200
commitb956577af1b88e950bf2aa5f77be6c8aee04e879 (patch)
tree15442c98c1e10ffedf5e409586aa8990d75d8b63 /include/ui
parenthw/display: Restrict virtio-gpu-udmabuf stubs to !Linux (diff)
downloadqemu-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.h2
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