Skip to contentSkip to conversation

pci-assign: do not include sys/io.h

PATCH Applied Paolo Bonzini 2 participants 2 messages Sep 15, 2015 – Sep 16, 2015

lore
Share & tools
lore
#0 lore raw

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.

---
 hw/i386/kvm/pci-assign.c | 1 -
 1 file changed, 1 deletion(-)
hw/i386/kvm/pci-assign.c +0 -1
index 57f14f1..3df8e6c 100644
@@ -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
#1 lore raw
Quoted 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