The present invention relates to a compound of formula (I):wherein:n is 0, 1 or 2A is in particular CH or NX is in particular CO, SO2, CS, and R1 is in particular H,R2 is a group of formula NR3R4 or OR5, R3 and R4 being in particular H, and R5 an alkyl group,R6 is in particular H or an alkyl group, andR7 is in particular an aryl group, for its use in the prevention and/or the treatment of viral pathologies or infections.