diff options
| author | Michael Tokarev <mjt@tls.msk.ru> | 2014-02-07 12:22:18 +0400 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-02-15 16:10:25 +0400 |
| commit | 262471794d6d75435fa755eb2d6363d941743b14 (patch) | |
| tree | 42c5d75db46cd41c858e8114499fe1a2ff8ff559 /hw/usb/dev-network.c | |
| parent | 62dc90c668fc4e17639f594b70a1001780f59a9b (diff) | |
| download | focaccia-qemu-262471794d6d75435fa755eb2d6363d941743b14.tar.gz focaccia-qemu-262471794d6d75435fa755eb2d6363d941743b14.zip | |
net: declare struct iovec in checksum.h to fix compiler warning
The checksum calculation header exports a function that refers to struct iov defined in iov.h. Without including the former, build fails like this: In file included from hw/net/fsl_etsec/rings.c:24:0: include/net/checksum.h:51:31: error: ‘struct iovec’ declared inside parameter list [-Werror] include/net/checksum.h:51:31: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] Mention struct iovec there. Reported-by: Alexander Graf <agraf@suse.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/usb/dev-network.c')
0 files changed, 0 insertions, 0 deletions