summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-09-25 10:04:17 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:29:52 +0100
commit077805fa92b9089137c6b6b196d449ee05cc342f (patch)
treebb954371505f4639307269cc90714ef0b494378c /audio
parent8e98e2e80b92e08e79e27a0c20a172906cfa12d2 (diff)
downloadqemu-077805fa92b9089137c6b6b196d449ee05cc342f.tar.gz
qemu-077805fa92b9089137c6b6b196d449ee05cc342f.tar.bz2
qemu-077805fa92b9089137c6b6b196d449ee05cc342f.zip
janitor: do not rely on indirect inclusions of or from qemu-char.h
Various header files rely on qemu-char.h including qemu-config.h or main-loop.h, but they really do not need qemu-char.h at all (particularly interesting is the case of the block layer!). Clean this up, and also add missing inclusions of qemu-char.h itself. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/alsaaudio.c1
-rw-r--r--audio/ossaudio.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index cb45b49c2a..564d632d0c 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -23,6 +23,7 @@
*/
#include <alsa/asoundlib.h>
#include "qemu-common.h"
+#include "main-loop.h"
#include "qemu-char.h"
#include "audio.h"
diff --git a/audio/ossaudio.c b/audio/ossaudio.c
index df51b7cc58..45abe39a6d 100644
--- a/audio/ossaudio.c
+++ b/audio/ossaudio.c
@@ -31,6 +31,7 @@
#include <sys/soundcard.h>
#endif
#include "qemu-common.h"
+#include "main-loop.h"
#include "host-utils.h"
#include "qemu-char.h"
#include "audio.h"