This is all completely unnecessary. Define your own version of the file, include the generic file, and the remove the definitions you don't need and add new ones.