segment: fix include order to get config.h before _mingw.h
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 14 Jun 2009 12:56:32 +0000 (16:56 +0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 14 Jun 2009 19:00:49 +0000 (20:00 +0100)
config.h must always be included before any other includes, either
directly or indirectly via gst_private.h. Fixes #585733.

gst/gstsegment.c

index e4fd386..fe05f65 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#include "gst_private.h"
 
 #include <math.h>
 
-#include "gst_private.h"
-
 #include "gstutils.h"
 #include "gstsegment.h"