From 1b11496194457f01187ea2313c7e8f7c8a113713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Thu, 13 Dec 2012 01:57:21 +0400 Subject: [PATCH] directsound: fix compilation errors caused by circular includes https://bugzilla.gnome.org/show_bug.cgi?id=690128 --- sys/directsound/gstdirectsoundsrc.c | 1 + 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 4c998ea25c..869dbeb096 100644 --- a/sys/directsound/gstdirectsoundsrc.c +++ b/sys/directsound/gstdirectsoundsrc.c @@ -66,6 +66,7 @@ #endif #include +#include #include #include "gstdirectsoundsrc.h" diff --git a/sys/directsound/gstdirectsoundsrc.h b/sys/directsound/gstdirectsoundsrc.h index 09b2c23ccc..6f75f4eb29 100644 --- a/sys/directsound/gstdirectsoundsrc.h +++ b/sys/directsound/gstdirectsoundsrc.h @@ -45,12 +45,13 @@ */ #ifndef __GST_DIRECTSOUNDSRC_H__ -#define __GST_DIRECTSOUNDSRC_H__ - -#include -#include - -#include +#define __GST_DIRECTSOUNDSRC_H__ + +#include +#include +#include + +#include #include /* add here some headers if needed */