[gnome-control-center] info: Fix build when Wayland support isn't available
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Fix build when Wayland support isn't available
- Date: Thu, 24 Apr 2014 22:36:34 +0000 (UTC)
commit 6908c0da34c31273e6c3ae475213b471aa719df7
Author: Bastien Nocera <hadess hadess net>
Date: Thu Apr 24 16:35:35 2014 +0200
info: Fix build when Wayland support isn't available
https://bugzilla.gnome.org/show_bug.cgi?id=728672
panels/info/cc-info-panel.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index b300f3b..e9b4454 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -34,10 +34,14 @@
#include <glibtop/mem.h>
#include <glibtop/sysinfo.h>
+#ifdef GDK_WINDOWING_WAYLAND
#include <gdk/gdkwayland.h>
+#endif
+#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#include <GL/gl.h>
#include <GL/glx.h>
+#endif
#include "gsd-disk-space-helper.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]