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

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



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

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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