An intake air temperature detected by an airflow sensor is corrected based on a rotation speed of an engine and a fuel supply amount to thereby estimate an atmospheric temperature. The atmospheric temperature is estimated by calculating a dynamic temperature error caused by heat generated around an engine and a correction factor in regard to thermal influence which changes according to the flow rate of an intake air, and correcting the intake air temperature detected by the airflow sensor with the temperature error corrected with the correction factor. On the basis of the atmospheric temperature, an electric heater is controlled, which is provided on at least a part of a system of supplying a reducing agent or its precursor, for example, a supply pipe mutually communicating a reducing agent container with a reducing agent supplying apparatus.