directsound: fix compilation errors caused by circular includes

https://bugzilla.gnome.org/show_bug.cgi?id=690128
This commit is contained in:
Руслан Ижбулатов 2012-12-13 01:57:21 +04:00 committed by Tim-Philipp Müller
parent b0c30383ca
commit 1b11496194
2 changed files with 8 additions and 6 deletions

View file

@ -66,6 +66,7 @@
#endif
#include <gst/gst.h>
#include <gst/audio/audio.h>
#include <gst/audio/gstaudiobasesrc.h>
#include "gstdirectsoundsrc.h"

View file

@ -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 */