mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 10:46:59 +00:00
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:
parent
871c34d94e
commit
90704dafae
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue