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>
This commit is contained in:
Blue Swirl 2010-07-31 19:40:13 +00:00
parent 671b0f368b
commit 3690cec8f8

View File

@ -38,6 +38,7 @@
#include <net/if.h> #include <net/if.h>
#include <syslog.h> #include <syslog.h>
#include <stropts.h> #include <stropts.h>
#include "qemu-error.h"
ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen) ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen)
{ {