summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray/na-tray.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/system-tray/na-tray.c')
-rw-r--r--applets/notification_area/system-tray/na-tray.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/applets/notification_area/system-tray/na-tray.c b/applets/notification_area/system-tray/na-tray.c
index 621d534d..bbf380c2 100644
--- a/applets/notification_area/system-tray/na-tray.c
+++ b/applets/notification_area/system-tray/na-tray.c
@@ -21,6 +21,11 @@
*/
#include <config.h>
+
+#ifndef HAVE_X11
+#error file should only be built when HAVE_X11 is enabled
+#endif
+
#include <string.h>
#include <gtk/gtk.h>