From b956577af1b88e950bf2aa5f77be6c8aee04e879 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Mon, 23 Aug 2021 12:04:54 +0200 Subject: ui/console: Restrict udmabuf_fd() to Linux Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210823100454.615816-3-philmd@redhat.com> Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ui') 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 -- cgit v1.2.3-55-g7522