summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-11-02 23:34:37 +0100
committerThomas Haller <thaller@redhat.com>2020-11-03 13:30:59 +0100
commit8d27a1a2d6571410fd6db45ea65a1f19754eb113 (patch)
tree7d92f672dfaa2a5e7b0d01db2fc0d4ea4047b6f6
parentbad69e546bfbc05299d018f13f61bbff5138f633 (diff)
downloadNetworkManager-th/workaround-glib-atomic-pointer-get.tar.gz
libnm: with meson include "nm-default.h" for glib-mkenums sourcesth/workaround-glib-atomic-pointer-get
We also do that for the autotools implementation.
-rw-r--r--libnm-core/meson.build1
-rw-r--r--libnm-core/tests/meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/libnm-core/meson.build b/libnm-core/meson.build
index a5994db98c..aa8823c991 100644
--- a/libnm-core/meson.build
+++ b/libnm-core/meson.build
@@ -83,6 +83,7 @@ libnm_core_enum_sources = gnome.mkenums_simple(
enum_types,
sources: libnm_core_headers + [nm_version_macro_header],
identifier_prefix: nm_id_prefix,
+ body_prefix: '#include "nm-default.h"',
install_header: true,
install_dir: libnm_pkgincludedir,
)
diff --git a/libnm-core/tests/meson.build b/libnm-core/tests/meson.build
index 58615e4df0..4ce42526df 100644
--- a/libnm-core/tests/meson.build
+++ b/libnm-core/tests/meson.build
@@ -15,6 +15,7 @@ enum_sources = gnome.mkenums_simple(
enum_types,
sources: 'test-general-enums.h',
identifier_prefix: nm_id_prefix,
+ body_prefix: '#include "nm-default.h"',
)
deps = [