# HG changeset patch # User mjsousa # Date 1406296713 -3600 # Node ID 5344b1fc826b4fe8892b20774beffe672ee369d1 # Parent e14cb81bc310eba8100229af9cd843f9b6282887 Ass include of iec_std_lib.h in POUS.h file. diff -r e14cb81bc310 -r 5344b1fc826b stage4/generate_c/generate_c.cc --- a/stage4/generate_c/generate_c.cc Mon Jul 21 10:39:46 2014 +0100 +++ b/stage4/generate_c/generate_c.cc Fri Jul 25 14:58:33 2014 +0100 @@ -2296,7 +2296,7 @@ /* B 0 - Programming Model */ /***************************/ void *visit(library_c *symbol) { - pous_incl_s4o.print("#ifndef __POUS_H\n#define __POUS_H\n\n#include \"accessor.h\"\n\n"); + pous_incl_s4o.print("#ifndef __POUS_H\n#define __POUS_H\n\n#include \"accessor.h\"\n#include \"iec_std_lib.h\"\n\n"); for(int i = 0; i < symbol->n; i++) { symbol->elements[i]->accept(*this);