I don't see any direct influence but indirect assimilation of thoughts and the logic behind marxism can easily be deciphered to have been influences by Rousseau. To this effect, every philosopher is influenced by one or the other persons thoughts. What do you want to conclude by this question?
Marx surely was influenced by the idea of intellectuals as cultural determiners, that is the cultural role of the intellectual-transforming it into the political field, that the intellectual is a game changer.