[gnome-software/wip/ubuntu] gs-ubuntuone-dialog: Only include snapd-glib.h if we've got Snappy



commit 0a6e35db09e1041462a6fd5dc94d39299bf883b9
Author: Iain Lane <iain orangesquash org uk>
Date:   Thu Oct 13 16:13:28 2016 +0100

    gs-ubuntuone-dialog: Only include snapd-glib.h if we've got Snappy

 src/plugins/gs-ubuntuone-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-ubuntuone-dialog.c b/src/plugins/gs-ubuntuone-dialog.c
index 0a6b5ef..3814753 100644
--- a/src/plugins/gs-ubuntuone-dialog.c
+++ b/src/plugins/gs-ubuntuone-dialog.c
@@ -25,9 +25,9 @@
 #include <glib/gi18n.h>
 #include <json-glib/json-glib.h>
 #include <libsoup/soup.h>
-#include <snapd-glib/snapd-glib.h>
 
 #ifdef USE_SNAPD
+#include <snapd-glib/snapd-glib.h>
 #include "gs-snapd.h"
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]