projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebd063d
)
qmp: include monitor.h when needed
author
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 7 Jun 2012 02:02:21 +0000
(
04:02
+0200)
committer
Luiz Capitulino
<lcapitulino@redhat.com>
Fri, 15 Jun 2012 13:41:05 +0000
(10:41 -0300)
This is needed to get file descriptors from SCM_RIGHTS.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
hmp.c
patch
|
blob
|
history
net/tap.c
patch
|
blob
|
history
diff --git
a/hmp.c
b/hmp.c
index 2ce8cb9df1791f669ecbf1536358ecce3211f221..b9cec1dafbe1fb2c55f6f8eb4722ddc6b8d38ec4 100644
(file)
--- a/
hmp.c
+++ b/
hmp.c
@@
-18,6
+18,7
@@
#include "qemu-option.h"
#include "qemu-timer.h"
#include "qmp-commands.h"
+#include "monitor.h"
static void hmp_handle_error(Monitor *mon, Error **errp)
{
diff --git
a/net/tap.c
b/net/tap.c
index 5ac4ba33432d7cabbb6dc14e2d0c03732d3b929e..17e91355cebb094a4f67981fbbea941048b4ed09 100644
(file)
--- a/
net/tap.c
+++ b/
net/tap.c
@@
-34,6
+34,7
@@
#include <net/if.h>
#include "net.h"
+#include "monitor.h"
#include "sysemu.h"
#include "qemu-char.h"
#include "qemu-common.h"