libnm: include "glib.h" in "nm-version.h"
authorThomas Haller <thaller@redhat.com>
Fri, 25 Sep 2015 13:47:55 +0000 (15:47 +0200)
committerThomas Haller <thaller@redhat.com>
Fri, 25 Sep 2015 13:48:09 +0000 (15:48 +0200)
commit0e223d4961e96c6bfc0ecc78ea08a9276b952e00
treec6759d278d317a26acb5eb12c0d046d1be8c7153
parent159e827a72f420048e12d318f8ba1edd3f641fc8
libnm: include "glib.h" in "nm-version.h"

This is a forward port of commit 6f616d4c4b04d5478f60d0311317bc84c5459ea4
which added this patch on nm-1-0 branch.

However, the reason stated there is wrong because we don't need this
to fix Qt examples. Building Qt examples was fixed in that "nm-dbus-interface.h"
no longer drags in "nm-version.h".

On the other hand, we still want "nm-version.h" to be self-contained,
and include "glib.h" as it needs it.
libnm-core/nm-version.h.in
libnm-util/nm-version.h.in