diff options
Diffstat (limited to 'applets/notification_area/system-tray/na-tray.h')
-rw-r--r-- | applets/notification_area/system-tray/na-tray.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/applets/notification_area/system-tray/na-tray.h b/applets/notification_area/system-tray/na-tray.h index 9f9d2bef..74e242c7 100644 --- a/applets/notification_area/system-tray/na-tray.h +++ b/applets/notification_area/system-tray/na-tray.h @@ -26,9 +26,11 @@ #include <config.h> -#ifdef HAVE_X11 -#include <gdk/gdkx.h> +#ifndef HAVE_X11 +#error file should only be included when HAVE_X11 is enabled #endif + +#include <gdk/gdkx.h> #include <gtk/gtk.h> #include "na-host.h" |