[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1] net: fix missing include of qapi/error.h in netm
From: |
Daniel P. Berrange |
Subject: |
[Qemu-devel] [PATCH v1] net: fix missing include of qapi/error.h in netmap.c |
Date: |
Thu, 31 Mar 2016 14:08:10 +0100 |
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>
---
net/netmap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/netmap.c b/net/netmap.c
index d9c21b2..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] [PATCH v1] net: fix missing include of qapi/error.h in netmap.c,
Daniel P. Berrange <=