bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] Re: On src/logger.c and sys/uio.h.


From: Simon Josefsson
Subject: [bug-inetutils] Re: On src/logger.c and sys/uio.h.
Date: Fri, 20 Aug 2010 11:18:44 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Mats Erik Andersson <address@hidden> writes:

> torsdag den 19 augusti 2010 klockan 21:29 skrev Simon Josefsson detta:
>> Mats Erik Andersson <address@hidden> writes:
>> 
>> > Hello friends,
>> >
>> > let me remind you of the need to include
>> >
>> >     #include <sys/uio.h>
>> >
>> > to accomodate OpenBSD properly.
>> >
>> > This dependency is automatically taken care of on a
>> > GNU/Linux system, since <sys/socket.h> in its turn includes
>> > <sys/uio.h>. That no longer holds true for OpenBSD.
>> 
>> For what function/variable/macro is the header file include needed?
>> 
>
>    src/logger.c
>
> A patch snippet was included in my recent message 'Bits on OpenBSD',
> as well as in some message I sent yesterday, or the day before that.
>
> I was fearing this particular deficiency had been lost in my other
> suggestions!

Reading src/logger.c, I believe the answer to my question is 'writev'.
I have fixed the code now.

Thanks,
/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]