diff options
author | William Wold <[email protected]> | 2019-01-26 04:05:10 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-01-29 15:20:59 +0100 |
commit | aa4754cf5a232842ff25cdcb34d098bfab9ee861 (patch) | |
tree | 79eca08ca6650ac2d620281497c580aef39a1adf /applets/wncklet/wncklet.c | |
parent | d7edd93f04f56bcf60e31096593cd60653726fe0 (diff) | |
download | mate-panel-aa4754cf5a232842ff25cdcb34d098bfab9ee861.tar.bz2 mate-panel-aa4754cf5a232842ff25cdcb34d098bfab9ee861.tar.xz |
wncklet: Error if compiling without X11 support
Diffstat (limited to 'applets/wncklet/wncklet.c')
-rw-r--r-- | applets/wncklet/wncklet.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/wncklet/wncklet.c b/applets/wncklet/wncklet.c index dafdcb8f..c24b41f0 100644 --- a/applets/wncklet/wncklet.c +++ b/applets/wncklet/wncklet.c @@ -25,6 +25,10 @@ #include <config.h> #endif +#ifndef HAVE_X11 +#error file should only be built when HAVE_X11 is enabled +#endif + #include <string.h> #include <mate-panel-applet.h> |