[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/20] hw/alpha/dp264: Include "net/net.h"
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 10/20] hw/alpha/dp264: Include "net/net.h" |
Date: |
Mon, 14 Oct 2019 16:22:36 +0200 |
hw/alpha/dp264.c uses NICInfo variables which are declared in
"net/net.h". Include it.
This fixes (when modifying unrelated headers):
hw/alpha/dp264.c:89:21: error: use of undeclared identifier 'nb_nics'
for (i = 0; i < nb_nics; i++) {
^
hw/alpha/dp264.c:90:30: error: use of undeclared identifier 'nd_table'
pci_nic_init_nofail(&nd_table[i], pci_bus, "e1000", NULL);
^
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/alpha/dp264.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c
index 51feee8558..013a9d3510 100644
--- a/hw/alpha/dp264.c
+++ b/hw/alpha/dp264.c
@@ -20,6 +20,7 @@
#include "hw/isa/superio.h"
#include "hw/dma/i8257.h"
#include "qemu/cutils.h"
+#include "net/net.h"
#define MAX_IDE_BUS 2
--
2.21.0
- [PATCH 02/20] hw/southbridge/ich9: Removed unused headers, (continued)
- [PATCH 02/20] hw/southbridge/ich9: Removed unused headers, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 03/20] hw/input/pckbd: Remove unused "hw/i386/pc.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 04/20] hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 05/20] hw/timer: Remove unused "ui/console.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 06/20] hw/usb/dev-storage: Remove unused "ui/console.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 07/20] hw/i386/intel_iommu: Remove unused includes, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 08/20] hw/xen/xen_pt_load_rom: Remove unused includes, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 09/20] hw/alpha/alpha_sys: Remove unused "hw/ide.h" header, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 10/20] hw/alpha/dp264: Include "net/net.h",
Philippe Mathieu-Daudé <=
- [PATCH 11/20] hw/hppa/machine: Include "net/net.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 12/20] hw/acpi/cpu_hotplug: Include "hw/pci/pci.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 13/20] hw/timer/hpet: Include "exec/address-spaces.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 14/20] hw/pci-host/q35: Include "qemu/range.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 15/20] hw/i2c/smbus_ich9: Include "qemu/range.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 16/20] hw/pci-host/piix: Include "qemu/range.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 17/20] hw/acpi: Include "hw/mem/nvdimm.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 18/20] hw/i386: Include "hw/mem/nvdimm.h", Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 19/20] hw/pci-host/q35: Remove unused includes, Philippe Mathieu-Daudé, 2019/10/14
- [PATCH 20/20] hw/i386/pc: Clean up includes, Philippe Mathieu-Daudé, 2019/10/14