summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-07-23 10:06:41 +0200
committerLubomir Rintel <lkundrak@v3.sk>2015-07-23 10:06:41 +0200
commit6f616d4c4b04d5478f60d0311317bc84c5459ea4 (patch)
treeb6853551393ccd1f28bca486e49876ecb50ebba0
parent82ddd94793199f8c7c80498d38b3ebffefc62b05 (diff)
downloadNetworkManager-6f616d4c4b04d5478f60d0311317bc84c5459ea4.tar.gz
libnm-core,libnm-util: drag in glib.h for nm-version.h
G_UNAVAILABLE defines need it. Fix building of the Qt example.
-rw-r--r--libnm-core/nm-version.h.in2
-rw-r--r--libnm-util/nm-version.h.in2
2 files changed, 4 insertions, 0 deletions
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 <glib.h>
+
/**
* 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 <glib.h>
+
/**
* NM_MAJOR_VERSION:
*