Momentics IDE doesn't recognize ApWidget_t

I wonder if somebody can help me with this. I’m developing a Photon Appbuilder project in QNX Momentics v6.3. During the project build
I’m getting the following compiler error

data definition has no type or storage class abwidgets.h

The line producing the error is:
ApWidget_t AbWidgets[ 68 ];
which is the only line in abwidgets.h

apparently the compiler is not recognizing the type ApWidget_t even though Appbuilder has included Photon library headers in the project. Can anyone tell me what’s wrong?