From 8d94c7e291e36f06febd98772eca32ac939e1ab5 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 2 Nov 2020 23:34:37 +0100 Subject: [PATCH] libnm: with meson include "nm-default.h" for glib-mkenums sources We also do that for the autotools implementation. (cherry picked from commit fd57e9665cea3547ce63ad3d693d956cb8c286c7) (cherry picked from commit c807e77271af7972abcecd637cae85e7664cbcc9) (cherry picked from commit 63f2d73b970bba7d2b9ff5e67715e0aefe7fb2d2) (cherry picked from commit 6efb6696c7af7f2b7ae3ff007144ad22cb4378d5) (cherry picked from commit ea9c19ec9d43ecb533c46081140f5453c6f61a0f) --- libnm-core/nm-core-enum-types.c.template | 2 +- libnm-core/tests/nm-core-tests-enum-types.c.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libnm-core/nm-core-enum-types.c.template b/libnm-core/nm-core-enum-types.c.template index b6cb38eecc..812e1eae19 100644 --- a/libnm-core/nm-core-enum-types.c.template +++ b/libnm-core/nm-core-enum-types.c.template @@ -1,5 +1,5 @@ /*** BEGIN file-header ***/ -#include "config.h" +#include "nm-default.h" #include "nm-core-enum-types.h" #include "nm-default.h" diff --git a/libnm-core/tests/nm-core-tests-enum-types.c.template b/libnm-core/tests/nm-core-tests-enum-types.c.template index 1160be86dc..dab286a3dd 100644 --- a/libnm-core/tests/nm-core-tests-enum-types.c.template +++ b/libnm-core/tests/nm-core-tests-enum-types.c.template @@ -1,5 +1,5 @@ /*** BEGIN file-header ***/ -#include "config.h" +#include "nm-default.h" #include "nm-core-tests-enum-types.h"