[libvirt] [PATCH] qemud compile fixes

Jim Meyering jim at meyering.net
Wed Dec 17 10:52:11 UTC 2008


john.levon at sun.com wrote:
> qemud compile fixes
>
> Let qemud/ compile with Sun cc.
>
> Signed-off-by: John Levon <john.levon at sun.com>
>
> 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.




More information about the libvir-list mailing list