platform-test: fix build with glib < 2.34

Use our compatibility version for g_clear_pointer() that is not defined
in glib < 2.34.
This commit is contained in:
Jiří Klimeš 2013-07-30 12:25:52 +02:00
parent 4aa56de14c
commit 379951ee18
2 changed files with 2 additions and 0 deletions

View file

@ -1,5 +1,6 @@
AM_CPPFLAGS = \
-I${top_srcdir} \
-I${top_srcdir}/include \
-I${top_srcdir}/src \
-I${top_srcdir}/src/logging \
-I${top_srcdir}/libnm-util \

View file

@ -1,4 +1,5 @@
#include "test-common.h"
#include "nm-glib-compat.h"
SignalData *
add_signal_full (const char *name, GCallback callback, int ifindex, const char *ifname)