diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-07-31 19:40:13 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-07-31 19:40:13 +0000 |
commit | 3690cec8f8d210a53471817ca01adadce34ab202 (patch) | |
tree | 0f78062fa43ad10b6cbd7392b91843885262940c /net/tap-solaris.c | |
parent | 671b0f368bda45e6bcb7a86a6cd49bb90cce3e17 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <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) { |