Commit 9d5ef9beec in spice-protocol introduced a typedef manually in the generated enums.h header. This patch adds them automatically to all enums during enums.h generation.
9d5ef9beec