Re: [libvirt] [PATCH 2/2] Use struct sockpeercred when available

2016-01-10 Thread Martin Kletzander
On Fri, Jan 08, 2016 at 10:36:08PM +0300, Roman Bogorodskiy wrote: From: Jasper Lievisse Adriaanse OpenBSD uses 'struct sockpeercred' instead of 'struct ucred'. Add a configure check that detects its presence and use if in the code that could be compiled on OpenBSD.

Re: [libvirt] [PATCH 2/2] Use struct sockpeercred when available

2016-01-10 Thread Roman Bogorodskiy
Martin Kletzander wrote: > On Fri, Jan 08, 2016 at 10:36:08PM +0300, Roman Bogorodskiy wrote: > >From: Jasper Lievisse Adriaanse > > > >OpenBSD uses 'struct sockpeercred' instead of 'struct ucred'. Add a > >configure check that detects its presence and use if in the code

[libvirt] [PATCH 2/2] Use struct sockpeercred when available

2016-01-08 Thread Roman Bogorodskiy
From: Jasper Lievisse Adriaanse OpenBSD uses 'struct sockpeercred' instead of 'struct ucred'. Add a configure check that detects its presence and use if in the code that could be compiled on OpenBSD. Signed-off-by: Roman Bogorodskiy --- configure.ac