From 90704dafae02222cdb80d0e83e6ffc29348174a5 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 22 Dec 2020 00:24:54 +0100 Subject: libnm: include "nm-core-enum-types.h" in libnm headers with quotes In C, includes with <> are for system headers, while "" prefers the current working directory (implementation defined). For libnm headers that include other libnm headers, we tend to use "" instead of <>. That makes sense to me. Be consistent about that. --- Makefile.am | 2 +- libnm/nm-enum-types.h.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index b5d5e8cb41..6c4365ebf1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1523,7 +1523,7 @@ GLIB_GENERATED += \ nm_enum_types_sources = \ $(libnm_lib_h_pub_mkenums) \ $(libnm_lib_h_pub_real) -nm_enum_types_MKENUMS_H_FLAGS = --identifier-prefix NM --fhead '\#include \n' +nm_enum_types_MKENUMS_H_FLAGS = --identifier-prefix NM --fhead '\#include "nm-core-enum-types.h"\n' nm_enum_types_MKENUMS_C_FLAGS = --identifier-prefix NM --fhead '\#include "nm-default.h"\n' $(dispatcher_nm_dispatcher_OBJECTS): $(libnm_lib_h_pub_mkenums) diff --git a/libnm/nm-enum-types.h.template b/libnm/nm-enum-types.h.template index bd9ce40b25..3bd86cce00 100644 --- a/libnm/nm-enum-types.h.template +++ b/libnm/nm-enum-types.h.template @@ -2,7 +2,7 @@ #ifndef __NM_ENUM_TYPES_H__ #define __NM_ENUM_TYPES_H__ -#include +#include "nm-core-enum-types.h" #include G_BEGIN_DECLS -- cgit v1.2.3