diff options
Diffstat (limited to 'src/spice-widget.h')
-rw-r--r-- | src/spice-widget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/spice-widget.h b/src/spice-widget.h index f180a43..213db7a 100644 --- a/src/spice-widget.h +++ b/src/spice-widget.h @@ -18,6 +18,10 @@ #ifndef __SPICE_CLIENT_WIDGET_H__ #define __SPICE_CLIENT_WIDGET_H__ +#if !defined(__SPICE_CLIENT_GTK_H_INSIDE__) && !defined(SPICE_COMPILATION) +#warning "Only <spice-client-gtk.h> can be included directly" +#endif + #include "spice-client.h" #include <gtk/gtk.h> |