On 06/30/2011 05:45 AM, Simon Josefsson wrote:
> Paul Eggert <[email protected]> writes:
> 
>> I am planning to make some changes to GNU Emacs which the
>> gnulib sys_select module would be helpful for.  But sys_select
>> depends on sys_socket, and that drags in some stuff
>> like m4/sockpfaf.m4 and m4/sys_uio_h.m4 that I'd rather
>> avoid.  Any objection if I remove this dependency?  It appears
>> that it's needed only because of native Windows platforms, and
>> applications that use gnulib shouldn't have to do extra work
>> just to support Windows.
> 
> Is it native Windows or MinGW?
> 
> I don't see anything directly in m4/sockpfaf.m4 that is used by
> sys_socket.in.h, but I could miss it.
> 
> m4/sys_uio.m4 appears to be for 'struct iovec', maybe sys/socket.h is
> required to provide it?

Yes, sys/socket.h is required to provide struct iovec, by virtue of
struct msghdr.  But I would be okay with making the use of sys_uio.h
conditional on whether or not we are overriding sendmsg and recvmsg,
since they are the only clients of struct msghdr (but that in itself
entails some work, since we don't yet have sendmsg and recvmsg modules).

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to