summary refs log tree commit diff
path: root/examples/C/glib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'examples/C/glib/Makefile.am')
-rw-r--r--examples/C/glib/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/C/glib/Makefile.am b/examples/C/glib/Makefile.am
index 3e442c30..e3d655d0 100644
--- a/examples/C/glib/Makefile.am
+++ b/examples/C/glib/Makefile.am
@@ -5,7 +5,8 @@ AM_CPPFLAGS = \
 	-I${top_builddir}/libnm-core \
 	-I${top_srcdir}/libnm \
 	-I${top_builddir}/libnm \
-	$(GLIB_CFLAGS)
+	$(GLIB_CFLAGS) \
+	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE
 
 noinst_PROGRAMS = \
 	add-connection-gdbus \