From d5d37fafa752a879a4f6aca023dbe5bfda66032c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 26 Mar 2013 15:01:08 +0100 Subject: [PATCH] wasapi: Include config.h before anything else --- sys/wasapi/gstwasapi.c | 6 +++--- sys/wasapi/gstwasapisink.c | 3 +++ sys/wasapi/gstwasapisrc.c | 3 +++ sys/wasapi/gstwasapiutil.c | 3 +++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sys/wasapi/gstwasapi.c b/sys/wasapi/gstwasapi.c index f4cc21c78f..9c901d08cc 100644 --- a/sys/wasapi/gstwasapi.c +++ b/sys/wasapi/gstwasapi.c @@ -17,13 +17,13 @@ * Boston, MA 02110-1301, USA. */ -#include "gstwasapisrc.h" -#include "gstwasapisink.h" - #ifdef HAVE_CONFIG_H # include #endif +#include "gstwasapisrc.h" +#include "gstwasapisink.h" + static gboolean plugin_init (GstPlugin * plugin) { diff --git a/sys/wasapi/gstwasapisink.c b/sys/wasapi/gstwasapisink.c index 08346929eb..193a608f1a 100644 --- a/sys/wasapi/gstwasapisink.c +++ b/sys/wasapi/gstwasapisink.c @@ -30,6 +30,9 @@ * ]| Generate 20 ms buffers and render to the default audio device. * */ +#ifdef HAVE_CONFIG_H +# include +#endif #include "gstwasapisink.h" diff --git a/sys/wasapi/gstwasapisrc.c b/sys/wasapi/gstwasapisrc.c index fd4b49d86b..e7e24e7101 100644 --- a/sys/wasapi/gstwasapisrc.c +++ b/sys/wasapi/gstwasapisrc.c @@ -30,6 +30,9 @@ * ]| Capture from the default audio device and render to fakesink. * */ +#ifdef HAVE_CONFIG_H +# include +#endif #include "gstwasapisrc.h" #include diff --git a/sys/wasapi/gstwasapiutil.c b/sys/wasapi/gstwasapiutil.c index fa249eb4b4..ce6b440699 100644 --- a/sys/wasapi/gstwasapiutil.c +++ b/sys/wasapi/gstwasapiutil.c @@ -16,6 +16,9 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +# include +#endif #include "gstwasapiutil.h"