X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fw32sock.h;h=55280d6497a6b3224e3de2fae47ad5075b75a201;hb=d48d7d9132b633a3a31a2f6f131ce7033f1faf8d;hp=651a76df6cf3653a8d783201438d5737cb25c8f2;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/lib/w32sock.h b/lib/w32sock.h index 651a76df6..55280d649 100644 --- a/lib/w32sock.h +++ b/lib/w32sock.h @@ -22,9 +22,12 @@ /* Get O_RDWR and O_BINARY. */ #include -/* Get _get_osfhandle() and _open_osfhandle(). */ +/* Get _open_osfhandle(). */ #include +/* Get _get_osfhandle(). */ +#include "msvc-nothrow.h" + #define FD_TO_SOCKET(fd) ((SOCKET) _get_osfhandle ((fd))) #define SOCKET_TO_FD(fh) (_open_osfhandle ((long) (fh), O_RDWR | O_BINARY))