aboutsummaryrefslogtreecommitdiff
path: root/net/tap-solaris.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-07-31 19:40:13 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-07-31 19:40:13 +0000
commit3690cec8f8d210a53471817ca01adadce34ab202 (patch)
tree0f78062fa43ad10b6cbd7392b91843885262940c /net/tap-solaris.c
parent671b0f368bda45e6bcb7a86a6cd49bb90cce3e17 (diff)
downloadqemu-3690cec8f8d210a53471817ca01adadce34ab202.zip
qemu-3690cec8f8d210a53471817ca01adadce34ab202.tar.gz
qemu-3690cec8f8d210a53471817ca01adadce34ab202.tar.bz2
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 <blauwirbel@gmail.com>
Diffstat (limited to 'net/tap-solaris.c')
-rw-r--r--net/tap-solaris.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 50d127a..4ac61d2 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -38,6 +38,7 @@
#include <net/if.h>
#include <syslog.h>
#include <stropts.h>
+#include "qemu-error.h"
ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen)
{