I think moving offending typedefs into a cdemu-types.h, similarly to how it was done for libmirage, would be preferable. Same reasoning as in #68 applies here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since typedef redefinition is allowed in C11. That provides an alternative way to fix this. I'll await a response to ticket #68.
I think moving offending typedefs into a cdemu-types.h, similarly to how it was done for libmirage, would be preferable. Same reasoning as in #68 applies here.
Should be fixed in the latest batch of commits.