Fixed ISO C error with forward declared enum.