A turbomachine compressor module comprising an annular array of struts provided with pivotable flaps. The struts can define inter-strut spaces between two circumferentially adjacent struts, and variably oriented stator vanes are disposed at least partially in the inter-strut spaces. Also, a turbomachine having such a module and a row of rotor blades directly downstream of the module.