diff -r 2c041d3d6ee3 -r 428fb2472f43 opc_ua/client.py --- a/opc_ua/client.py Wed Sep 14 14:55:13 2022 +0200 +++ b/opc_ua/client.py Wed Sep 14 14:56:25 2022 +0200 @@ -130,7 +130,8 @@ locstr = "_".join(map(str, current_location)) c_path = os.path.join(buildpath, "opcua_client__%s.c" % locstr) - c_code = self.modeldata.GenerateC(c_path, locstr, self.GetConfig()) + c_code = '#include "beremiz.h"\n' + c_code += self.modeldata.GenerateC(c_path, locstr, self.GetConfig()) with open(c_path, 'wb') as c_file: c_file.write(c_code)