Log Message: Adjust the PR misc/50073 patches so they only apply on NetBSD. It turns out that moving Xpoll.h before osdep.h breaks on Linux because it doesn't get the feature test macros for select.h.