librb: configure: also include ws2tcpip.h

This commit is contained in:
William Pitcock 2016-03-20 04:14:28 -05:00
parent 71b2af0611
commit fe277230f9

View file

@ -496,6 +496,7 @@ if test "x$rb_windows_h" = "xyes"; then
echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
echo '#include <windows.h>' >> $outfile echo '#include <windows.h>' >> $outfile
echo '#include <winsock2.h>' >> $outfile echo '#include <winsock2.h>' >> $outfile
echo '#include <ws2tcpip.h>' >> $outfile
echo '#include <iphlpapi.h>' >> $outfile echo '#include <iphlpapi.h>' >> $outfile
fi fi