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