Add /dev/poll support.