+2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
+
+ Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
+
+ * gst/gst.c:
+ * gst/gstbus.c:
+ * gst/gstclock.c:
+ * gst/gstevent.c:
+ * gst/gstformat.c:
+ * gst/gstmessage.c:
+ * gst/gstparse.c:
+ * gst/gstquery.c:
+ * gst/gstutils.c:
+ * gst/parse/Makefile.am:
+ * libs/gst/base/gstadapter.c:
+ * libs/gst/base/gstbasesrc.c:
+ * libs/gst/base/gstpushsrc.c:
+ * libs/gst/base/gsttypefindhelper.c:
+ * plugins/elements/gstfakesrc.c:
+ * plugins/elements/gstidentity.c:
+ Make sure gstprivate.h and/or config.h are
+ always included first, otherwise some of our
+ defines (like _FILE_OFFSET_BITS) might be
+ redefined in the system headers. Fixes build
+ on opensolaris (#340016).
+
2006-05-04 Wim Taymans <wim@fluendo.com>
* docs/libs/gstreamer-libs-sections.txt:
* Last reviewed on 2005-11-23 (0.9.5)
*/
+#include "gst_private.h"
#include <stdlib.h>
#include <stdio.h>
-#include "gst_private.h"
#include "gst-i18n-lib.h"
#include <locale.h> /* for LC_ALL */
* Last reviewed on 2006-03-12 (0.10.5)
*/
+#include "gst_private.h"
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
-#include "gst_private.h"
#include "gstinfo.h"
#include "gstbus.h"
* Last reviewed on 2006-03-09 (0.10.4)
*/
-#include <time.h>
#include "gst_private.h"
+#include <time.h>
#include "gstclock.h"
#include "gstinfo.h"
* Last reviewed on 2006-01-24 (0.10.2)
*/
-#include <string.h> /* memcpy */
#include "gst_private.h"
+#include <string.h> /* memcpy */
#include "gstinfo.h"
#include "gstevent.h"
* operations.
*/
-#include <string.h>
#include "gst_private.h"
+#include <string.h>
#include "gstformat.h"
static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
* Last reviewed on 2005-11-09 (0.9.4)
*/
-#include <string.h> /* memcpy */
#include "gst_private.h"
+#include <string.h> /* memcpy */
#include "gsterror.h"
#include "gstenumtypes.h"
#include "gstinfo.h"
* gst-launch utillity.
*/
-#include <string.h>
#include "gst_private.h"
+#include <string.h>
#include "gstparse.h"
#include "gstinfo.h"
*
* Last reviewed on 2006-02-14 (0.10.4)
*/
-#include <string.h>
#include "gst_private.h"
+#include <string.h>
#include "gstquery.h"
#include "gstvalue.h"
#include "gstenumtypes.h"
* When defining own plugins, use the GST_BOILERPLATE ease gobject creation.
*/
+#include "gst_private.h"
#include <stdio.h>
#include <string.h>
-#include "gst_private.h"
#include "gstghostpad.h"
#include "gstutils.h"
#include "gstinfo.h"
grammar.tab.c grammar.tab.h: grammar.y
$(BISON_PATH) -d -v -p_gst_parse__yy $(srcdir)/grammar.y -o grammar.tab.c
+ mv grammar.tab.c grammar.tab_tmp.c; \
+ echo '#ifdef HAVE_CONFIG_H' > grammar.tab_tmp2.c; \
+ echo '#include <config.h>' >> grammar.tab_tmp2.c; \
+ echo '#endif' >> grammar.tab_tmp2.c; \
+ cat grammar.tab_tmp.c >> grammar.tab_tmp2.c; \
+ rm grammar.tab_tmp.c; \
+ mv grammar.tab_tmp2.c grammar.tab.c
lex._gst_parse_yy.c: parse.l grammar.tab.h
$(FLEX_PATH) -P_gst_parse_yy $^
+ mv lex._gst_parse_yy.c lex._gst_parse_yy_tmp.c; \
+ echo '#ifdef HAVE_CONFIG_H' > lex._gst_parse_yy_tmp2.c; \
+ echo '#include <config.h>' >> lex._gst_parse_yy_tmp2.c; \
+ echo '#endif' >> lex._gst_parse_yy_tmp2.c; \
+ cat lex._gst_parse_yy_tmp.c >> lex._gst_parse_yy_tmp2.c; \
+ rm lex._gst_parse_yy_tmp.c; \
+ mv lex._gst_parse_yy_tmp2.c lex._gst_parse_yy.c
+
* Last reviewed on 2006-03-07 (0.10.4).
*/
-#include <string.h>
#include "gstadapter.h"
+#include <string.h>
/* default size for the assembled data buffer */
#define DEFAULT_SIZE 16
* </refsect2>
*/
-#include <stdlib.h>
-#include <string.h>
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <stdlib.h>
+#include <string.h>
+
#include "gstbasesrc.h"
#include "gsttypefindhelper.h"
#include <gst/gstmarshal.h>
* base class.
*/
-#include <stdlib.h>
-#include <string.h>
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <stdlib.h>
+#include <string.h>
+
#include "gstpushsrc.h"
#include "gsttypefindhelper.h"
#include <gst/gstmarshal.h>
* typefinding in push mode from a chain function.
*/
-#include <stdlib.h>
-#include <string.h>
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <stdlib.h>
+#include <string.h>
+
#include "gsttypefindhelper.h"
static gint
* </refsect2>
*/
-#include <stdlib.h>
-#include <string.h>
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <stdlib.h>
+#include <string.h>
+
#include "gstfakesrc.h"
#include <gst/gstmarshal.h>
*/
-#include <stdlib.h>
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <stdlib.h>
+
#include "../../gst/gst-i18n-lib.h"
#include "gstidentity.h"
#include <gst/gstmarshal.h>