Apply netcat-cvs-20110926-UDPfix.patch (part 2)

This part fixes build failures on platforms where struct in_pktinfo is
not available.
(cherry picked from commit 6de82cc6790243fc7be52ea0889b7205823ab684)