summaryrefslogtreecommitdiff
path: root/examples/C
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2016-01-28 12:25:21 -0600
committerDan Williams <dcbw@redhat.com>2016-01-28 12:27:14 -0600
commit91f06323c7f5bf027cca3b554ba0a1b88195839a (patch)
tree0175b96b2518f01f30df6dbac47b5b2d31badbf9 /examples/C
parent1cf47277662eda3bf3e049dc26c78f1022100169 (diff)
downloadNetworkManager-91f06323c7f5bf027cca3b554ba0a1b88195839a.tar.gz
examples: avoid compile errors around NM versioning
Diffstat (limited to 'examples/C')
-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 3e442c30b1..e3d655d07b 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 \