pci-assign: do not include sys/io.h
PATCH 1/1 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 <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
--- hw/i386/kvm/pci-assign.c | 1 - 1 file changed, 1 deletion(-)
hw/i386/kvm/pci-assign.c +0 -1
@@ -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>
Signature · 1 line
2.5.0
Michael Tokarev
AppliedQuoted 2 lines · Paolo Bonzini
This file does not exist on bionic libc and the functions it defines are in fact not used by
pci-assign.c. Remove it.
Applied to -trivial, thanks!
/mjt