|
@@ -16,6 +16,7 @@
|
|
* Contributions after 2012-01-13 are licensed under the terms of the
|
|
* Contributions after 2012-01-13 are licensed under the terms of the
|
|
* GNU GPL, version 2 or (at your option) any later version.
|
|
* GNU GPL, version 2 or (at your option) any later version.
|
|
*/
|
|
*/
|
|
|
|
+#include "qemu/osdep.h"
|
|
#include "hw/hw.h"
|
|
#include "hw/hw.h"
|
|
#include "hw/i386/pc.h"
|
|
#include "hw/i386/pc.h"
|
|
#include "hw/pci/pci.h"
|
|
#include "hw/pci/pci.h"
|
|
@@ -34,8 +35,6 @@
|
|
#include "hw/misc/ivshmem.h"
|
|
#include "hw/misc/ivshmem.h"
|
|
|
|
|
|
#include <sys/mman.h>
|
|
#include <sys/mman.h>
|
|
-#include <sys/types.h>
|
|
|
|
-#include <limits.h>
|
|
|
|
|
|
|
|
#define PCI_VENDOR_ID_IVSHMEM PCI_VENDOR_ID_REDHAT_QUMRANET
|
|
#define PCI_VENDOR_ID_IVSHMEM PCI_VENDOR_ID_REDHAT_QUMRANET
|
|
#define PCI_DEVICE_ID_IVSHMEM 0x1110
|
|
#define PCI_DEVICE_ID_IVSHMEM 0x1110
|