The invention provides compounds of formula (I), and pharmaceutically acceptable salts thereof wherein: R1, R2, R3, R4, R5, R6, R7, X and X1 are as defined herein. These compounds are useful in the manufacture of medicaments for use in the prevention or treatment of a fungal disease. Compounds of formula (I), and agriculturally acceptable salts thereof, may also be used as agricultural fungicides.