Change poll() to ast_poll().