unistd sys/socket

2011-07-14 Thread Sam Steingold
Hi, in what order do I include sys/socket and unistd? sys_socket.in.h: #if @HAVE_WINSOCK2_H@ !defined _GL_UNISTD_H # if !(defined __cplusplus defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # else _GL_WARN_ON_USE (close,

Re: unistd sys/socket

2011-07-14 Thread Eric Blake
On 07/14/2011 07:37 AM, Sam Steingold wrote: Hi, in what order do I include sys/socket and unistd? sys_socket.in.h: #if @HAVE_WINSOCK2_H@ !defined _GL_UNISTD_H # if !(defined __cplusplus defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # else

Re: unistd sys/socket

2011-07-14 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-07-14 07:43:40 -0600]: On 07/14/2011 07:37 AM, Sam Steingold wrote: Hi, in what order do I include sys/socket and unistd? sys_socket.in.h: #if @HAVE_WINSOCK2_H@ !defined _GL_UNISTD_H # if !(defined __cplusplus defined GNULIB_NAMESPACE) # undef close