The Stack Overflow podcast is back! Listen to an interview with our new CEO.
1 of 2

The preposition is optional there. Said that, it depends on the writer's style.

OALD has an entry for it:

I've been waiting (for) 20 minutes.


However, I did not have this idea unless saw that entry some months back. Still, I prefer using the preposition to satisfy myself!