diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2012-12-13 01:57:21 +0400 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-12-12 22:45:53 +0000 |
commit | 1b11496194457f01187ea2313c7e8f7c8a113713 (patch) | |
tree | 6ccf1ede1eaead57f431b63daf741964195f24b1 /sys/directsound | |
parent | b0c30383ca189e56b41e9416986b164c57f76a10 (diff) | |
download | gstreamer-plugins-bad-1b11496194457f01187ea2313c7e8f7c8a113713.tar.gz |
directsound: fix compilation errors caused by circular includes
https://bugzilla.gnome.org/show_bug.cgi?id=690128
Diffstat (limited to 'sys/directsound')
-rw-r--r-- | sys/directsound/gstdirectsoundsrc.c | 1 | ||||
-rw-r--r-- | sys/directsound/gstdirectsoundsrc.h | 13 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sys/directsound/gstdirectsoundsrc.c b/sys/directsound/gstdirectsoundsrc.c index 4c998ea25..869dbeb09 100644 --- a/sys/directsound/gstdirectsoundsrc.c +++ b/sys/directsound/gstdirectsoundsrc.c @@ -66,6 +66,7 @@ #endif #include <gst/gst.h> +#include <gst/audio/audio.h> #include <gst/audio/gstaudiobasesrc.h> #include "gstdirectsoundsrc.h" diff --git a/sys/directsound/gstdirectsoundsrc.h b/sys/directsound/gstdirectsoundsrc.h index 09b2c23cc..6f75f4eb2 100644 --- a/sys/directsound/gstdirectsoundsrc.h +++ b/sys/directsound/gstdirectsoundsrc.h @@ -45,12 +45,13 @@ */
#ifndef __GST_DIRECTSOUNDSRC_H__
-#define __GST_DIRECTSOUNDSRC_H__
-
-#include <gst/gst.h>
-#include <gst/audio/gstaudiosrc.h>
-
-#include <windows.h>
+#define __GST_DIRECTSOUNDSRC_H__ + +#include <gst/gst.h> +#include <gst/audio/audio.h> +#include <gst/audio/gstaudiosrc.h> + +#include <windows.h> #include <dsound.h>
/* add here some headers if needed */
|