Re: [libvirt] [PATCH] qemud compile fixes

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

 



john.levon@xxxxxxx wrote:
> qemud compile fixes
>
> Let qemud/ compile with Sun cc.
>
> Signed-off-by: John Levon <john.levon@xxxxxxx>
>
> diff --git a/qemud/qemud.c b/qemud/qemud.c
> --- a/qemud/qemud.c
> +++ b/qemud/qemud.c
> @@ -28,7 +28,6 @@
>  #include <sys/stat.h>
>  #include <unistd.h>
>  #include <fcntl.h>
> -#include <paths.h>
>  #include <limits.h>
>  #include <sys/socket.h>
>  #include <sys/un.h>
> @@ -801,7 +800,8 @@ static struct qemud_server *qemudInitial
>  #ifdef WITH_STORAGE_DIR
>      storageRegister();
>  #endif
> -#if defined(HAVE_HAL) || defined(HAVE_DEVKIT)
> +#if defined(WITH_NODE_DEVICES) && \
> +    (defined(HAVE_HAL) || defined(HAVE_DEVKIT))
>      nodedevRegister();
>  #endif
>  #ifdef WITH_QEMU
> diff --git a/qemud/remote.c b/qemud/remote.c
> --- a/qemud/remote.c
> +++ b/qemud/remote.c
> @@ -27,7 +27,6 @@
>  #include <sys/stat.h>
>  #include <unistd.h>
>  #include <fcntl.h>
> -#include <paths.h>
>  #include <limits.h>
>  #include <sys/socket.h>
>  #include <sys/un.h>

ACK.
Looks fine to me.

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