[Top][All Lists]

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

[Qemu-trivial] [PATCH] pci-assign: do not include sys/io.h

From: Paolo Bonzini
Subject: [Qemu-trivial] [PATCH] pci-assign: do not include sys/io.h
Date: Tue, 15 Sep 2015 10:47:36 +0200

This file does not exist on bionic libc and the functions it defines
are in fact not used by pci-assign.c.  Remove it.

Reported-by: Houcheng Lin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
 hw/i386/kvm/pci-assign.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/i386/kvm/pci-assign.c b/hw/i386/kvm/pci-assign.c
index 57f14f1..3df8e6c 100644
--- a/hw/i386/kvm/pci-assign.c
+++ b/hw/i386/kvm/pci-assign.c
@@ -22,7 +22,6 @@
 #include <stdio.h>
 #include <unistd.h>
-#include <sys/io.h>
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/stat.h>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]