build fix, include sys/socket.h (fix OpenBSD)
build fix, handle missing ENODATA (OpenBSD)
Merge branch 'bsd_fixes' into next

* bsd_fixes:
  build fix, handle missing ENODATA (OpenBSD)
  build fix, include sys/socket.h (fix OpenBSD)