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:
Thomas Haller 2014-08-01 21:39:38 +02:00
parent 4b54e4db80
commit cb5a976191

View file

@ -22,6 +22,8 @@
#include <glib.h>
#include <nm-utils.h>
#include "nm-glib-compat.h"
extern GType nm_state_get_type (void);
int