summaryrefslogtreecommitdiff
path: root/sys/directsound/gstdirectsoundsrc.h
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2012-12-13 01:57:21 +0400
committerTim-Philipp Müller <tim@centricular.net>2012-12-12 22:45:53 +0000
commit1b11496194457f01187ea2313c7e8f7c8a113713 (patch)
tree6ccf1ede1eaead57f431b63daf741964195f24b1 /sys/directsound/gstdirectsoundsrc.h
parentb0c30383ca189e56b41e9416986b164c57f76a10 (diff)
downloadgstreamer-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/gstdirectsoundsrc.h')
-rw-r--r--sys/directsound/gstdirectsoundsrc.h13
1 files changed, 7 insertions, 6 deletions
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 */