OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671b0f3
)
Fix a warning on OpenSolaris
author
Blue Swirl
<blauwirbel@gmail.com>
Sat, 31 Jul 2010 19:40:13 +0000
(19:40 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 31 Jul 2010 19:40:13 +0000
(19:40 +0000)
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>
net/tap-solaris.c
patch
|
blob
|
history
diff --git
a/net/tap-solaris.c
b/net/tap-solaris.c
index
50d127a
..
4ac61d2
100644
(file)
--- 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)
{