From 3e4a50d937eecb9b510614e3a62e8844a5fb46b0 Mon Sep 17 00:00:00 2001 From: William Wold Date: Wed, 23 Jan 2019 09:29:07 -0500 Subject: libmate-panel-applet: Error if panel-plug is built without X11 --- libmate-panel-applet/panel-plug.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libmate-panel-applet/panel-plug.c b/libmate-panel-applet/panel-plug.c index 10dd4099..3bf3def0 100644 --- a/libmate-panel-applet/panel-plug.c +++ b/libmate-panel-applet/panel-plug.c @@ -15,6 +15,12 @@ * along with this program. If not, see . */ +#include + +#ifndef HAVE_X11 +#error file should only be built when HAVE_X11 is enabled +#endif + #include #include "panel-plug-private.h" -- cgit v1.2.1