From 3690cec8f8d210a53471817ca01adadce34ab202 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 31 Jul 2010 19:40:13 +0000 Subject: [PATCH] Fix a warning on OpenSolaris Add a missing #include statement to avoid a warning: /src/qemu/net/tap-solaris.c: In function 'tap_open': /src/qemu/net/tap-solaris.c:189: warning: implicit declaration of function 'error_report' Signed-off-by: Blue Swirl --- net/tap-solaris.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/tap-solaris.c b/net/tap-solaris.c index 50d127ad3f..4ac61d2ad6 100644 --- a/net/tap-solaris.c +++ b/net/tap-solaris.c @@ -38,6 +38,7 @@ #include #include #include +#include "qemu-error.h" ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen) { -- 2.11.4.GIT