In this case, In this case, how do you fix this feature?
I did not fix the issue. The definition was present for me. Can you please let me know how you started the project?
Did you start form Empty PSoC6 App?
Please make sure that the necessary header files are present in the main.c file.
You can also try a "clean and build" to make sure that the files are imported correctly.
If these suggestions does not help, please share your project so that I can debug it at my end