From 6de2dc47bf68f48de17b88f095e3164af2b3c261 Mon Sep 17 00:00:00 2001 From: Julius Pfrommer Date: Fri, 29 Nov 2024 21:37:49 +0100 Subject: [PATCH] fix(nc): Add newline at the end of generated datatype definitions This led to build issues in the CI. --- include/open62541/util.h | 1 + tools/nodeset_compiler/backend_open62541_typedefinitions.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/open62541/util.h b/include/open62541/util.h index 47ab4662cc4..436fc4176f5 100644 --- a/include/open62541/util.h +++ b/include/open62541/util.h @@ -9,6 +9,7 @@ #define UA_HELPER_H_ #include +#include #include _UA_BEGIN_DECLS diff --git a/tools/nodeset_compiler/backend_open62541_typedefinitions.py b/tools/nodeset_compiler/backend_open62541_typedefinitions.py index d4cfbdce071..5ab98cbaf69 100644 --- a/tools/nodeset_compiler/backend_open62541_typedefinitions.py +++ b/tools/nodeset_compiler/backend_open62541_typedefinitions.py @@ -426,7 +426,7 @@ def print_header(self): self.printh(''' _UA_END_DECLS -#endif /* %s_GENERATED_H_ */''' % self.parser.outname.upper()) +#endif /* %s_GENERATED_H_ */\n''' % self.parser.outname.upper()) def print_doc(self): for ns in self.filtered_types: