[gst-cvs] gstreamer: config.h needs to be included first, either directly or via gst_private.h
Tim Mueller
tpm at kemper.freedesktop.org
Tue Mar 17 13:53:49 PDT 2009
Module: gstreamer
Branch: master
Commit: 7d7fceced5c40fbfafd1a2c32c95f82d86d84bbd
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=7d7fceced5c40fbfafd1a2c32c95f82d86d84bbd
Author: David Adam <zanchey at ucc.gu.uwa.edu.au>
Date: Tue Mar 17 20:41:44 2009 +0000
config.h needs to be included first, either directly or via gst_private.h
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 | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/gst/gst.c b/gst/gst.c
index 4085e3d..01e80cd 100644
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -103,9 +103,8 @@
* 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>
More information about the Gstreamer-commits
mailing list