From e3846eb096a7ded4566775bcca0a3e3ceb22f762 Mon Sep 17 00:00:00 2001 From: William Wold Date: Sat, 26 Jan 2019 04:56:06 -0500 Subject: xstuff: Error if X11 not enabled --- mate-panel/xstuff.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mate-panel/xstuff.c') 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 + +#ifndef HAVE_X11 +#error file should only be built when HAVE_X11 is enabled +#endif + #include #include -- cgit v1.2.1