summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-27 18:41:08 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-27 18:41:08 +0000
commit73d96e29648304babda911dc8e652c03f487459a (patch)
tree6c3d0a4832e5221d0c57472592f39eed3d7c7687
parent87d0a28e78dcd310801d53ebaa3eb6fba1432f0b (diff)
downloadqemu-73d96e29648304babda911dc8e652c03f487459a.tar.gz
qemu-73d96e29648304babda911dc8e652c03f487459a.tar.bz2
qemu-73d96e29648304babda911dc8e652c03f487459a.zip
Fix BSD and win32 builds
CC net/tap-bsd.o /src/qemu/net/tap-bsd.c: In function `tap_open': /src/qemu/net/tap-bsd.c:93: warning: implicit declaration of function `error_report' CC sparc-softmmu/../net/tap-win32.o cc1: warnings being treated as errors /src/qemu/target-sparc/../net/tap-win32.c: In function 'net_init_tap': /src/qemu/target-sparc/../net/tap-win32.c:709: warning: implicit declaration of function 'error_report' Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--net/tap-bsd.c1
-rw-r--r--net/tap-win32.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/tap-bsd.c b/net/tap-bsd.c
index e51d06848d..3773d5da5e 100644
--- a/net/tap-bsd.c
+++ b/net/tap-bsd.c
@@ -25,6 +25,7 @@
#include "net/tap.h"
#include "qemu-common.h"
#include "sysemu.h"
+#include "qemu-error.h"
#ifdef __NetBSD__
#include <net/if_tap.h>
diff --git a/net/tap-win32.c b/net/tap-win32.c
index a5c2ce9e32..545bbbd128 100644
--- a/net/tap-win32.c
+++ b/net/tap-win32.c
@@ -31,6 +31,7 @@
#include "qemu-common.h"
#include "net.h"
#include "sysemu.h"
+#include "qemu-error.h"
#include <stdio.h>
#include <windows.h>
#include <winioctl.h>