[COMMIT] Remove an extraneous #endif, s/netbsd.h, thank you Adam Sjoegren!