Compatibility headers should always include the header in the same dir.
Your checklist for this pull request
[ ] I've documented or updated the documentation of every API function and struct this PR changes.
[ ] I've added tests that prove my fix is effective or that my feature works (if possible)
Detailed description
The comparability header should not include the system headers.
It breaks on one side capstone.pc and also is not very intuitive. Because (I would say) the header is always assumed to be the compatibility header within its directory. Not within another.
Compatibility headers should always include the header in the same dir.
Your checklist for this pull request
Detailed description
The comparability header should not include the system headers. It breaks on one side
capstone.pc
and also is not very intuitive. Because (I would say) the header is always assumed to be the compatibility header within its directory. Not within another.Test plan
...
Closing issues
closes https://github.com/capstone-engine/capstone/issues/2509