summaryrefslogtreecommitdiffstats
path: root/src/usb-device-widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/usb-device-widget.h')
-rw-r--r--src/usb-device-widget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usb-device-widget.h b/src/usb-device-widget.h
index 9143d5c..8ce91f2 100644
--- a/src/usb-device-widget.h
+++ b/src/usb-device-widget.h
@@ -21,6 +21,10 @@
#ifndef __SPICE_USB_DEVICE_WIDGET_H__
#define __SPICE_USB_DEVICE_WIDGET_H__
+#if !defined(__SPICE_CLIENT_GTK_H_INSIDE__) && !defined(SPICE_COMPILATION)
+#warning "Only <spice-client-gtk.h> can be included directly"
+#endif
+
#include <gtk/gtk.h>
#include "spice-client.h"