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 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

--
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]