Error when compiling pwm-test aplication from PRUCookbook/05blocks

Hi everyone,

Context:

I’m trying to use the Shared memory to copy some data from the PRU to the ARM. As a start point, I’m using the excellent material provided by Mark Ayode on this link: https://markayoder.github.io/PRUCookbook/05blocks/blocks.htm

Problems:
I can compile, run and load the pw4.c FW into the PRU0 without any problems, but when i try to compile pwm-test I’m getting the following error:
“/usr/include/fcntl.h”, line 25: fatal error #1965: cannot open source file “features.h”

Could someone help me?

Best regards,

I forgot to provide some information:
Board: BeagleBone Black
Kernel version: 4.14.62-ti-r69