mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-31 20:04:01 +00:00
Fix warning when compiling without spice-gtk support
When remote-viewer is compiled without spice-gtk support, spice-session.h will not get included in remote-viewer.c, causing these warnings: remote-viewer.c: In function 'remote_viewer_start': remote-viewer.c:693:9: warning: implicit declaration of function 'virt_viewer_session_set_file' [-Wimplicit-function-declaration] remote-viewer.c:693:9: warning: nested extern declaration of 'virt_viewer_session_set_file' [-Wnested-externs]
This commit is contained in:
parent
9749a1d2c9
commit
01532f9523
@ -36,6 +36,7 @@
|
||||
#endif
|
||||
#include "virt-viewer-app.h"
|
||||
#include "virt-viewer-file.h"
|
||||
#include "virt-viewer-session.h"
|
||||
#include "remote-viewer.h"
|
||||
|
||||
#ifndef G_VALUE_INIT /* see bug https://bugzilla.gnome.org/show_bug.cgi?id=654793 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user