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.
This commit is contained in:
Thomas Haller 2020-12-22 00:24:54 +01:00
parent 871c34d94e
commit 90704dafae
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
2 changed files with 2 additions and 2 deletions

View file

@ -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 <nm-core-enum-types.h>\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)

View file

@ -2,7 +2,7 @@
#ifndef __NM_ENUM_TYPES_H__
#define __NM_ENUM_TYPES_H__
#include <nm-core-enum-types.h>
#include "nm-core-enum-types.h"
#include <glib-object.h>
G_BEGIN_DECLS