From: Paul Eggert Date: Wed, 25 Feb 2015 00:16:19 +0000 (-0800) Subject: poll: port to MSVC v18 on MS-Windows 8.1 X-Git-Tag: v1.0~7122 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=17f1e64f00011fb745019119e21b26e4aba65e4b;p=gnulib.git poll: port to MSVC v18 on MS-Windows 8.1 Problem reported by Gisle Vanem in: http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00139.html * lib/poll.c: Always include and . * modules/poll (Depends-on) [!HAVE_POLL || REPLACE_POLL]: Add sys_socket. --- diff --git a/ChangeLog b/ChangeLog index 2262efad90..42351a6831 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2015-02-24 Paul Eggert + + poll: port to MSVC v18 on MS-Windows 8.1 + Problem reported by Gisle Vanem in: + http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00139.html + * lib/poll.c: Always include and . + * modules/poll (Depends-on) [!HAVE_POLL || REPLACE_POLL]: + Add sys_socket. + 2015-02-24 Pádraig Brady tests: support stderr verification with returns_() diff --git a/lib/poll.c b/lib/poll.c index 12531d92fd..69908089ff 100644 --- a/lib/poll.c +++ b/lib/poll.c @@ -44,11 +44,12 @@ # include "msvc-nothrow.h" #else # include -# include -# include # include #endif +#include +#include + #ifdef HAVE_SYS_IOCTL_H # include #endif diff --git a/modules/poll b/modules/poll index b1d928dd58..57f0631e72 100644 --- a/modules/poll +++ b/modules/poll @@ -12,6 +12,7 @@ assure [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] select [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] sockets [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] sys_select [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +sys_socket [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] sys_time [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] errno [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] msvc-nothrow [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]