Ass include of iec_std_lib.h in POUS.h file.
--- 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);