Re: [PATCH v2] Include param.h in case of HAVE_BSD_CPU_AFFINITY

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

 



On Mon, Aug 11, 2014 at 10:55:47AM -0600, Eric Blake wrote:
> On 08/11/2014 04:23 AM, Guido Günther wrote:
> > This fixes compilation on kFreeBSD which otherwise fails like
> > 
> >   CC       util/libvirt_util_la-virprocess.lo
> > In file included from /usr/include/sys/cpuset.h:35:0,
> >                  from util/virprocess.c:43:
> > /usr/include/sys/_cpuset.h:49:43: error: 'NBBY' undeclared here (not in
> > a function)
> >   long __bits[howmany(CPU_SETSIZE, _NCPUBITS)];
> >                                            ^
> 
> > 
> > Also change the #ifdef HAVE_BSH_CPU_AFFINITY to #if for consistency.
> > ---
> > 
> > The previous version inluded sys/param.h twice causing make
> > syntax-check to fail.
> >  -- Guido
> > 
> >  src/util/virprocess.c | 7 +++++--
> >  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> ACK

Pushed. Thanks,
 -- Guido

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]