mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 14:10:36 +01:00
libnm-util/test: fix build for clang due to deprecated warning
For clang, we have to include nm-glib-compat.h to redefine G_GNUC_BEGIN_IGNORE_DEPRECATIONS. Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
4b54e4db80
commit
cb5a976191
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@
|
|||
#include <glib.h>
|
||||
#include <nm-utils.h>
|
||||
|
||||
#include "nm-glib-compat.h"
|
||||
|
||||
extern GType nm_state_get_type (void);
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue