diff -r fa43fed1084c -r 5b7a0d9838d2 lib/iec_types_all.h --- a/lib/iec_types_all.h Sat Mar 31 15:34:33 2012 +0100 +++ b/lib/iec_types_all.h Sat Mar 31 15:36:08 2012 +0100 @@ -86,7 +86,8 @@ #define __DECLARE_DERIVED_TYPE(type, base)\ typedef base type;\ -typedef __IEC_##base##_t __IEC_##type##_t; +typedef __IEC_##base##_t __IEC_##type##_t;\ +typedef __IEC_##base##_p __IEC_##type##_p; #define __DECLARE_COMPLEX_STRUCT(type)\ typedef struct {\