summaryrefslogtreecommitdiff
path: root/src/spice-uri.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spice-uri.h')
-rw-r--r--src/spice-uri.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/spice-uri.h b/src/spice-uri.h
index 65ffd0a..9960712 100644
--- a/src/spice-uri.h
+++ b/src/spice-uri.h
@@ -18,6 +18,10 @@
#ifndef __SPICE_URI_H__
#define __SPICE_URI_H__
+#if !defined(__SPICE_CLIENT_H_INSIDE__) && !defined(SPICE_COMPILATION)
+#warning "Only <spice-client.h> can be included directly"
+#endif
+
#include <glib-object.h>
G_BEGIN_DECLS