summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray/na-tray-child.h
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/system-tray/na-tray-child.h')
-rw-r--r--applets/notification_area/system-tray/na-tray-child.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/applets/notification_area/system-tray/na-tray-child.h b/applets/notification_area/system-tray/na-tray-child.h
index 6641fe88..aa39658a 100644
--- a/applets/notification_area/system-tray/na-tray-child.h
+++ b/applets/notification_area/system-tray/na-tray-child.h
@@ -23,7 +23,14 @@
#ifndef __NA_TRAY_CHILD_H__
#define __NA_TRAY_CHILD_H__
+#include <config.h>
+
+#ifndef HAVE_X11
+#error file should only be included when HAVE_X11 is enabled
+#endif
+
#include <gtk/gtk.h>
+
#include <gdk/gdkx.h>
#include <gtk/gtkx.h>