summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-09-15 10:47:36 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2015-10-08 19:46:01 +0300
commit16033ba577059c5675e4c786234c46027380c29b (patch)
tree2cadd0659a0b6d2a17adb60fb09538508732f636
parenteab2ac9d3c1675a58989000c2647aa33e440906a (diff)
downloadqemu-16033ba577059c5675e4c786234c46027380c29b.zip
pci-assign: do not include sys/io.h
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 <houcheng@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--hw/i386/kvm/pci-assign.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/kvm/pci-assign.c b/hw/i386/kvm/pci-assign.c
index b1beaa66b2..44beee3a05 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>