summaryrefslogtreecommitdiff
path: root/sys/wasapi
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-26 15:01:08 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-26 15:01:08 +0100
commitd5d37fafa752a879a4f6aca023dbe5bfda66032c (patch)
tree07979b7fd0c1572c16a735eeca3f8bd8414e7cc6 /sys/wasapi
parentff30417bd9d2b8cd1e2282cd76ca269988b8707f (diff)
downloadgstreamer-plugins-bad-d5d37fafa752a879a4f6aca023dbe5bfda66032c.tar.gz
wasapi: Include config.h before anything else
Diffstat (limited to 'sys/wasapi')
-rw-r--r--sys/wasapi/gstwasapi.c6
-rw-r--r--sys/wasapi/gstwasapisink.c3
-rw-r--r--sys/wasapi/gstwasapisrc.c3
-rw-r--r--sys/wasapi/gstwasapiutil.c3
4 files changed, 12 insertions, 3 deletions
diff --git a/sys/wasapi/gstwasapi.c b/sys/wasapi/gstwasapi.c
index f4cc21c78..9c901d08c 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 <config.h>
#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 08346929e..193a608f1 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.
* </refsect2>
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include "gstwasapisink.h"
diff --git a/sys/wasapi/gstwasapisrc.c b/sys/wasapi/gstwasapisrc.c
index fd4b49d86..e7e24e710 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.
* </refsect2>
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include "gstwasapisrc.h"
#include <gst/audio/gstaudioclock.h>
diff --git a/sys/wasapi/gstwasapiutil.c b/sys/wasapi/gstwasapiutil.c
index fa249eb4b..ce6b44069 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 <config.h>
+#endif
#include "gstwasapiutil.h"