Re: [libvirt] [PATCH 1/2] cgroup: fix including sys/mount.h for OpenBSD

2016-01-11 Thread Roman Bogorodskiy
Martin Kletzander wrote: > >That's an interesting question. > > > >A check for sys/mount.h was added with the initial implementation of the > >mount() using code in commit 1da631e. The mount() call currently is used > >only on platforms with cgroups available (i.e. Linux). > > > >Moreover,

Re: [libvirt] [PATCH 1/2] cgroup: fix including sys/mount.h for OpenBSD

2016-01-10 Thread Martin Kletzander
On Sun, Jan 10, 2016 at 11:29:47PM +0300, Roman Bogorodskiy wrote: Martin Kletzander wrote: On Fri, Jan 08, 2016 at 10:36:07PM +0300, Roman Bogorodskiy wrote: >From: Jasper Lievisse Adriaanse > >Include sys/param.h along with sys/mount.h to fix compilation on >OpenBSD. >

Re: [libvirt] [PATCH 1/2] cgroup: fix including sys/mount.h for OpenBSD

2016-01-10 Thread Martin Kletzander
On Fri, Jan 08, 2016 at 10:36:07PM +0300, Roman Bogorodskiy wrote: From: Jasper Lievisse Adriaanse Include sys/param.h along with sys/mount.h to fix compilation on OpenBSD. Signed-off-by: Roman Bogorodskiy --- src/util/vircgroup.c | 3 ++- 1 file

Re: [libvirt] [PATCH 1/2] cgroup: fix including sys/mount.h for OpenBSD

2016-01-10 Thread Roman Bogorodskiy
Martin Kletzander wrote: > On Fri, Jan 08, 2016 at 10:36:07PM +0300, Roman Bogorodskiy wrote: > >From: Jasper Lievisse Adriaanse > > > >Include sys/param.h along with sys/mount.h to fix compilation on > >OpenBSD. > > > >Signed-off-by: Roman Bogorodskiy

[libvirt] [PATCH 1/2] cgroup: fix including sys/mount.h for OpenBSD

2016-01-08 Thread Roman Bogorodskiy
From: Jasper Lievisse Adriaanse Include sys/param.h along with sys/mount.h to fix compilation on OpenBSD. Signed-off-by: Roman Bogorodskiy --- src/util/vircgroup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git