projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab2ac9
)
pci-assign: do not include sys/io.h
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 15 Sep 2015 08:47:36 +0000
(10:47 +0200)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Thu, 8 Oct 2015 16:46:01 +0000
(19:46 +0300)
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>
hw/i386/kvm/pci-assign.c
patch
|
blob
|
history
diff --git
a/hw/i386/kvm/pci-assign.c
b/hw/i386/kvm/pci-assign.c
index b1beaa66b2c17ca36835313e70e05e8b494bafbf..44beee3a0549ff403fa6a70c8bce440ffd4e32a5 100644
(file)
--- 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>