summaryrefslogtreecommitdiffstats
path: root/src/spice-gtk-session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spice-gtk-session.h')
-rw-r--r--src/spice-gtk-session.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/spice-gtk-session.h b/src/spice-gtk-session.h
index a69c174..9a45d85 100644
--- a/src/spice-gtk-session.h
+++ b/src/spice-gtk-session.h
@@ -18,6 +18,10 @@
#ifndef __SPICE_CLIENT_GTK_SESSION_H__
#define __SPICE_CLIENT_GTK_SESSION_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"
G_BEGIN_DECLS