summaryrefslogtreecommitdiff
path: root/mate-panel/xstuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/xstuff.c')
-rw-r--r--mate-panel/xstuff.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mate-panel/xstuff.c b/mate-panel/xstuff.c
index 21d58825..199b8620 100644
--- a/mate-panel/xstuff.c
+++ b/mate-panel/xstuff.c
@@ -12,7 +12,13 @@
* Copyright (c) 1997-2002 Alfredo K. Kojima
*/
+
#include <config.h>
+
+#ifndef HAVE_X11
+#error file should only be built when HAVE_X11 is enabled
+#endif
+
#include <string.h>
#include <unistd.h>