diff options
author | Alex Bligh <alex@alex.org.uk> | 2013-08-21 16:02:47 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-08-22 19:10:27 +0200 |
commit | 6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb (patch) | |
tree | e9323ec0742f142f26fcc79eecb76fdcc97ccd9d /ui | |
parent | ff83c66eccf5b5f6b6530d504e3be41559250dcb (diff) | |
download | qemu-6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb.zip qemu-6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb.tar.gz qemu-6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb.tar.bz2 |
aio / timers: Untangle include files
include/qemu/timer.h has no need to include main-loop.h and
doing so causes an issue for the next patch. Unfortunately
various files assume including timers.h will pull in main-loop.h.
Untangle this mess.
Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/vnc-auth-sasl.h | 1 | ||||
-rw-r--r-- | ui/vnc-auth-vencrypt.c | 2 | ||||
-rw-r--r-- | ui/vnc-ws.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/ui/vnc-auth-sasl.h b/ui/vnc-auth-sasl.h index 8091d68..3f59da6 100644 --- a/ui/vnc-auth-sasl.h +++ b/ui/vnc-auth-sasl.h @@ -33,6 +33,7 @@ typedef struct VncStateSASL VncStateSASL; typedef struct VncDisplaySASL VncDisplaySASL; #include "qemu/acl.h" +#include "qemu/main-loop.h" struct VncStateSASL { sasl_conn_t *conn; diff --git a/ui/vnc-auth-vencrypt.c b/ui/vnc-auth-vencrypt.c index c59b188..bc7032e 100644 --- a/ui/vnc-auth-vencrypt.c +++ b/ui/vnc-auth-vencrypt.c @@ -25,7 +25,7 @@ */ #include "vnc.h" - +#include "qemu/main-loop.h" static void start_auth_vencrypt_subauth(VncState *vs) { diff --git a/ui/vnc-ws.c b/ui/vnc-ws.c index df89315..e304baf 100644 --- a/ui/vnc-ws.c +++ b/ui/vnc-ws.c @@ -19,6 +19,7 @@ */ #include "vnc.h" +#include "qemu/main-loop.h" #ifdef CONFIG_VNC_TLS #include "qemu/sockets.h" |