gst/playback/: Also include config.h when relying on defines from it. Fixes the build...
authorStefan Kost <ensonic@users.sourceforge.net>
Fri, 2 May 2008 11:13:05 +0000 (11:13 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Fri, 2 May 2008 11:13:05 +0000 (11:13 +0000)
Original commit message from CVS:
* gst/playback/test4.c:
* gst/playback/test5.c:
* gst/playback/test6.c:
* gst/playback/test7.c:
Also include config.h when relying on defines from it. Fixes the
build. Its been a please to serve :)

ChangeLog
gst/playback/test4.c
gst/playback/test5.c
gst/playback/test6.c
gst/playback/test7.c

index ba5e015..95921b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-05-02  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/playback/test4.c:
+       * gst/playback/test5.c:
+       * gst/playback/test6.c:
+       * gst/playback/test7.c:
+         Also include config.h when relying on defines from it. Fixes the
+         build. Its been a please to serve :)
+
 2008-05-02  Thijs Vermeir <thijsvermeir@gmail.com>
 
        * gst/videotestsrc/videotestsrc.c (paint_setup_NV12),
index 8e7b335..c2bb7c9 100644 (file)
@@ -16,6 +16,9 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>             /* exit() */
 #endif
index ace1596..715b4bb 100644 (file)
@@ -16,6 +16,9 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
index 3928dcf..6dd5a24 100644 (file)
@@ -16,6 +16,9 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
index b39d74f..31b9730 100644 (file)
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>             /* exit() */
+#endif
 #include <gst/gst.h>
 
 #define UPDATE_INTERVAL 500