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>
This commit is contained in:
Philippe Mathieu-Daudé 2021-08-23 12:04:54 +02:00 committed by Gerd Hoffmann
parent cdb1fba084
commit b956577af1
3 changed files with 6 additions and 13 deletions

View file

@ -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