I can now reproduce the issue using your license features.
I will get back to you soon with the fix.
Please see the section "Building with Sourcery CodeBench IDE" page 16/661 Nucleus POSIX Guide.You have to add following lines to your configuration file
toolsets.csgnu_arm.CFLAGS = -isystem os/include/services -isystem os/include/services/sys -Wall -ffunction-sections -fdata-sections
toolsets.csgnu_arm.CXXFLAGS = -isystem os/include/services -isystem os/include/services/sys -Wall -fno-enforce-eh-specs
nu.os.kern.plus.core.timer_hisr_stack_size = 2048
Please undo any other changes which you have made to the posix header files for definition inclusion.
I have verified this and it builds ok for me after these changes.