[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 15/15] net: fix missing include of qapi/error.h in ne
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 15/15] net: fix missing include of qapi/error.h in netmap.c |
Date: |
Tue, 5 Apr 2016 11:50:18 +0200 |
From: "Daniel P. Berrange" <address@hidden>
The netmap.c file fails to build on FreeBSD with
net/netmap.c:95:9: warning: implicit declaration of function 'error_setg_errno'
is invalid in C99 [-Wimplicit-function-declaration]
error_setg_errno(errp, errno, "Failed to nm_open() %s",
^
net/netmap.c:432:9: warning: implicit declaration of function 'error_propagate'
is invalid in C99 [-Wimplicit-function-declaration]
error_propagate(errp, err);
^
Signed-off-by: Daniel P. Berrange <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
net/netmap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/netmap.c b/net/netmap.c
index d9c21b2b..6cc0db5 100644
--- a/net/netmap.c
+++ b/net/netmap.c
@@ -36,6 +36,7 @@
#include "clients.h"
#include "sysemu/sysemu.h"
#include "qemu/error-report.h"
+#include "qapi/error.h"
#include "qemu/iov.h"
#include "qemu/cutils.h"
--
2.5.5
- [Qemu-devel] [PULL 08/15] char: fix broken EAGAIN retry on OS-X due to errno clobbering, (continued)
- [Qemu-devel] [PULL 08/15] char: fix broken EAGAIN retry on OS-X due to errno clobbering, Paolo Bonzini, 2016/04/05
- [Qemu-devel] [PULL 10/15] doc/memory: update MMIO section, Paolo Bonzini, 2016/04/05
- [Qemu-devel] [PULL 07/15] util: retry getaddrinfo if getting EAI_BADFLAGS with AI_V4MAPPED, Paolo Bonzini, 2016/04/05
- [Qemu-devel] [PULL 11/15] nbd: don't request FUA on FLUSH, Paolo Bonzini, 2016/04/05
- [Qemu-devel] [PULL 06/15] checkpatch: add target_ulong to typelist, Paolo Bonzini, 2016/04/05
- [Qemu-devel] [PULL 14/15] nbd: Fix poor debug message, Paolo Bonzini, 2016/04/05
- [Qemu-devel] [PULL 12/15] cpus: don't use atomic_read for vm_clock_warp_start, Paolo Bonzini, 2016/04/05
- [Qemu-devel] [PULL 13/15] include/qemu/atomic: add compile time asserts, Paolo Bonzini, 2016/04/05
- [Qemu-devel] [PULL 15/15] net: fix missing include of qapi/error.h in netmap.c,
Paolo Bonzini <=
- Re: [Qemu-devel] [PULL 00/15] Misc changes for QEMU 2.6.0-rc1, Peter Maydell, 2016/04/05