mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 22:20:27 +01:00
libnm: include "glib.h" in "nm-version.h"
This is a forward port of commit 6f616d4c4b
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.
This commit is contained in:
parent
159e827a72
commit
0e223d4961
2 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,8 @@
|
|||
#ifndef NM_VERSION_H
|
||||
#define NM_VERSION_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
/**
|
||||
* NM_MAJOR_VERSION:
|
||||
*
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@
|
|||
#ifndef NM_VERSION_H
|
||||
#define NM_VERSION_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
/**
|
||||
* NM_MAJOR_VERSION:
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue