Fixes the compile issue with R_POLL, it compiles fine now.