--- NetworkManager-1.0.2/src/dns-manager/nm-dns-manager.c	2015-05-05 12:35:17.000000000 +0100
+++ NetworkManager-1.0.2/src/dns-manager/nm-dns-manager.c	2016-01-10 19:56:57.842268949 +0000
@@ -58,6 +58,8 @@
 #define DOMAIN_IS_VALID(domain) (*(domain) && !soup_tld_domain_is_public_suffix (domain))
 #endif
 #endif
+#else
+#include <gio/gio.h>
 #endif
 
 #ifndef DOMAIN_IS_VALID
