Skip to content

Commit 3e4a50d

Browse files
wmwwraveit65
authored andcommitted
libmate-panel-applet: Error if panel-plug is built without X11
1 parent 23e1bda commit 3e4a50d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libmate-panel-applet/panel-plug.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717

18+
#include <config.h>
19+
20+
#ifndef HAVE_X11
21+
#error file should only be built when HAVE_X11 is enabled
22+
#endif
23+
1824
#include <gtk/gtk.h>
1925

2026
#include "panel-plug-private.h"

0 commit comments

Comments
 (0)