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