--- lib/poll.in.h.orig 2018-11-20 17:58:03.317863600 +0100 +++ lib/poll.in.h 2018-11-20 17:58:35.920887000 +0100 @@ -55,12 +55,12 @@ # if !GNULIB_defined_poll_types -struct pollfd -{ - int fd; /* which file descriptor to poll */ - short events; /* events we are interested in */ - short revents; /* events found on return */ -}; +/* struct pollfd */ +/* { */ +/* int fd; /\* which file descriptor to poll *\/ */ +/* short events; /\* events we are interested in *\/ */ +/* short revents; /\* events found on return *\/ */ +/* }; */ typedef unsigned long nfds_t; @@ -75,28 +75,28 @@ #endif -#if @GNULIB_POLL@ -# if @REPLACE_POLL@ -# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -# undef poll -# define poll rpl_poll -# endif -_GL_FUNCDECL_RPL (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); -_GL_CXXALIAS_RPL (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); -# else -# if !@HAVE_POLL@ -_GL_FUNCDECL_SYS (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); -# endif -_GL_CXXALIAS_SYS (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); -# endif -_GL_CXXALIASWARN (poll); -#elif defined GNULIB_POSIXCHECK -# undef poll -# if HAVE_RAW_DECL_POLL -_GL_WARN_ON_USE (poll, "poll is unportable - " - "use gnulib module poll for portability"); -# endif -#endif +/* #if @GNULIB_POLL@ */ +/* # if @REPLACE_POLL@ */ +/* # if !(defined __cplusplus && defined GNULIB_NAMESPACE) */ +/* # undef poll */ +/* # define poll rpl_poll */ +/* # endif */ +/* _GL_FUNCDECL_RPL (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); */ +/* _GL_CXXALIAS_RPL (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); */ +/* # else */ +/* # if !@HAVE_POLL@ */ +/* _GL_FUNCDECL_SYS (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); */ +/* # endif */ +/* _GL_CXXALIAS_SYS (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); */ +/* # endif */ +/* _GL_CXXALIASWARN (poll); */ +/* #elif defined GNULIB_POSIXCHECK */ +/* # undef poll */ +/* # if HAVE_RAW_DECL_POLL */ +/* _GL_WARN_ON_USE (poll, "poll is unportable - " */ +/* "use gnulib module poll for portability"); */ +/* # endif */ +/* #endif */ #endif /* _@GUARD_PREFIX@_POLL_H */