diff options
Diffstat (limited to 'mate-panel/xstuff.h')
-rw-r--r-- | mate-panel/xstuff.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mate-panel/xstuff.h b/mate-panel/xstuff.h index 83af4645..0bf29738 100644 --- a/mate-panel/xstuff.h +++ b/mate-panel/xstuff.h @@ -1,9 +1,17 @@ #ifndef __XSTUFF_H__ #define __XSTUFF_H__ +#ifdef PACKAGE_NAME // only check HAVE_X11 if config.h has been included +#ifndef HAVE_X11 +#error file should only be included when HAVE_X11 is enabled +#endif +#endif + #include <gdk/gdk.h> #include <gtk/gtk.h> +#include "panel-enums-gsettings.h" + void xstuff_zoom_animate (GtkWidget *widget, cairo_surface_t *surface, PanelOrientation orientation, |