config.h needs to be included first, either directly or via gst_private.h
authorDavid Adam <zanchey@ucc.gu.uwa.edu.au>
Tue, 17 Mar 2009 20:41:44 +0000 (20:41 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 17 Mar 2009 20:41:44 +0000 (20:41 +0000)
Fixes build with -Werror caused by '_FILE_OFFSET_BITS redefined' warning on
OpenSolaris where _FILE_OFFSET_BITS may be defined both in our config.h
and via stdio.h (#575695).

gst/gst.c

index 4085e3d..01e80cd 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
  * Last reviewed on 2006-08-11 (0.10.10)
  */
 
-#include "gstconfig.h"
-
 #include "gst_private.h"
+#include "gstconfig.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/types.h>