This can happen also among header files themselves.
It is good practice to include files in reverse order of dependency: (iostream always last for instance)
to catch missing includes, and indeed accidental bad interaction.
These are bugs, and shall be fixed.