mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-11 19:39:26 -07:00
hw/hppa/machine: Include "net/net.h"
hw/hppa/machine.c uses NICInfo variables which are declared in
"net/net.h". Include it.
This fixes (when modifying unrelated headers):
hw/hppa/machine.c:126:21: error: use of undeclared identifier 'nb_nics'
for (i = 0; i < nb_nics; i++) {
^
hw/hppa/machine.c:127:30: error: use of undeclared identifier 'nd_table'
pci_nic_init_nofail(&nd_table[i], pci_bus, "e1000", NULL);
^
Acked-by: John Snow <jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200228114649.12818-10-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
b58337ffee
commit
e07c4f44b0
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "qapi/error.h"
|
||||
#include "net/net.h"
|
||||
#include "qemu/log.h"
|
||||
#include "net/net.h"
|
||||
|
||||
#define MAX_IDE_BUS 2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue