TO-infinitive or gerund: NEED, REQUIRE, WANT
Need, require and want can be followed by the active or passive to-infinitives to express active or passive meanings, respectively:
I need to make a phone call.
Sometimes, people need to be told the truth.
My job requires me to handle many letters from abroad.
They required the information to be sent as soon as possible.
I wanted to stay for a few more days.
It was obvious that he wanted to be invited.
But active gerunds after these verbs express passive meanings:
Your hair needs cutting. (It should be cut.)
These photos require careful handling. (They should be handled carefully.)
The windows want cleaning. (They should be cleaned.)