projects
/
sdk
/
emulator
/
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 50d127ad3f52766edc9a9ae972063d4c6bcfe280..4ac61d2ad6250dd295b66ff31bc86a5479b1ff9b 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)
{