As stated in the commit d2f33178c40ac51b1c8b1bf796a328631d9869c7 Glib applications should only include "spice-client.h". --- src/spice-file-transfer-task.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/spice-file-transfer-task.h b/src/spice-file-transfer-task.h index 18dc509..fba132e 100644 --- a/src/spice-file-transfer-task.h +++ b/src/spice-file-transfer-task.h @@ -18,6 +18,12 @@ #ifndef __SPICE_FILE_TRANSFER_TASK_H__ #define __SPICE_FILE_TRANSFER_TASK_H__ +#if !defined(__SPICE_CLIENT_H_INSIDE__) && !defined(SPICE_COMPILATION) +#warning "Only <spice-client.h> can be included directly" +#endif + +#include "spice-client.h" + #include <glib-object.h> G_BEGIN_DECLS -- 2.8.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel