summaryrefslogtreecommitdiffstats
path: root/gst/goom/goom_core.c
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2008-07-23 22:01:20 +0000
committerMichael Smith <msmith@xiph.org>2008-07-23 22:01:20 +0000
commit90fdf92640f4f1e091590718cace3c87718f745e (patch)
tree26a2cc96d0cc1a2a6ea458e0e78a4dc44d55252a /gst/goom/goom_core.c
parentda2d6b62e9a289de0d11283b740d314fa09a6d4f (diff)
gst/goom/: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed.
Original commit message from CVS: * gst/goom/convolve_fx.c: * gst/goom/filters.c: * gst/goom/goom_config.h: * gst/goom/goom_core.c: * gst/goom/goom_tools.h: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed. * gst/udp/gstudpnetutils.c: * gst/udp/gstudpsrc.c: Fix build with MSVC: use WSA* constants/functions where appropriate, use g_snprintf rather than snprintf. Fixes #544433.
Diffstat (limited to 'gst/goom/goom_core.c')
-rw-r--r--gst/goom/goom_core.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gst/goom/goom_core.c b/gst/goom/goom_core.c
index 0e5410e0..b1aaba59 100644
--- a/gst/goom/goom_core.c
+++ b/gst/goom/goom_core.c
@@ -7,12 +7,18 @@
* (c)2000-2003, by iOS-software.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <strings.h>
+
+#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
+#endif
#include "goom.h"
#include "goom_tools.h"