Misc daemon fixes (John Levon)

This commit is contained in:
Daniel P. Berrange 2008-12-18 11:52:06 +00:00
parent b7e008d3dd
commit 13d98d68fc
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Thu Dec 18 11:50:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
Misc daemon bug fixes (John Levon)
* qemud/qemud.c: Fix conditional for node devices
* qemud/remote.c: Remove unneccessary path.h include
Thu Dec 18 07:47:58 +0100 2008 Jim Meyering <meyering@redhat.com> Thu Dec 18 07:47:58 +0100 2008 Jim Meyering <meyering@redhat.com>
docs/virsh.pod: typo fix docs/virsh.pod: typo fix

View File

@ -28,7 +28,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <paths.h>
#include <limits.h> #include <limits.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>
@ -801,7 +800,8 @@ static struct qemud_server *qemudInitialize(int sigread) {
#ifdef WITH_STORAGE_DIR #ifdef WITH_STORAGE_DIR
storageRegister(); storageRegister();
#endif #endif
#if defined(HAVE_HAL) || defined(HAVE_DEVKIT) #if defined(WITH_NODE_DEVICES) && \
(defined(HAVE_HAL) || defined(HAVE_DEVKIT))
nodedevRegister(); nodedevRegister();
#endif #endif
#ifdef WITH_QEMU #ifdef WITH_QEMU

View File

@ -27,7 +27,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <paths.h>
#include <limits.h> #include <limits.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>