Mats Erik Andersson <mats.anders...@gisladisker.se> writes: > torsdag den 19 augusti 2010 klockan 21:29 skrev Simon Josefsson detta: >> Mats Erik Andersson <mats.anders...@gisladisker.se> 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