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