From 6f616d4c4b04d5478f60d0311317bc84c5459ea4 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 23 Jul 2015 10:06:41 +0200 Subject: [PATCH] libnm-core,libnm-util: drag in glib.h for nm-version.h G_UNAVAILABLE defines need it. Fix building of the Qt example. --- libnm-core/nm-version.h.in | 2 ++ libnm-util/nm-version.h.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libnm-core/nm-version.h.in b/libnm-core/nm-version.h.in index b96e01f037..79bd959c8c 100644 --- a/libnm-core/nm-version.h.in +++ b/libnm-core/nm-version.h.in @@ -21,6 +21,8 @@ #ifndef NM_VERSION_H #define NM_VERSION_H +#include + /** * NM_MAJOR_VERSION: * diff --git a/libnm-util/nm-version.h.in b/libnm-util/nm-version.h.in index bbbf993a9a..d0911b18bd 100644 --- a/libnm-util/nm-version.h.in +++ b/libnm-util/nm-version.h.in @@ -21,6 +21,8 @@ #ifndef NM_VERSION_H #define NM_VERSION_H +#include + /** * NM_MAJOR_VERSION: *