Add support for ppoll().

Resolves #445.

Well that's about as easy as it gets :).