aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-09-21 15:09:30 +0300
committerAvi Kivity <avi@redhat.com>2009-09-21 15:09:30 +0300
commita4085e72ba0f7ed5a63d8d4c958de6746cf43d27 (patch)
tree7a6dac7fe35eb50f4828f7ebed3fd9a4f9126eca /qemu-kvm.c
parentcompatfd: complete definition (diff)
downloadqemu-kvm-a4085e72ba0f7ed5a63d8d4c958de6746cf43d27.tar.gz
qemu-kvm-a4085e72ba0f7ed5a63d8d4c958de6746cf43d27.tar.bz2
qemu-kvm-a4085e72ba0f7ed5a63d8d4c958de6746cf43d27.zip
Use "compatfd.h" instead of <sys/signalfd.h>
<sys/signalfd.h> is not always available, and it too intrusive to conditionally compile the MCE injection support code. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-kvm.c')
-rw-r--r--qemu-kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-kvm.c b/qemu-kvm.c
index 0afdb56e8..99b3f2cef 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -26,7 +26,7 @@
#include <sys/syscall.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
-#include <signal.h>
+#include "compatfd.h"
#include <sys/signalfd.h>
#include <sys/prctl.h>