gsturi: include gstconfig.h earlier for GST_API define
diff --git a/gst/gsturi.h b/gst/gsturi.h
index 0dd809e..75145f9 100644
--- a/gst/gsturi.h
+++ b/gst/gsturi.h
@@ -31,6 +31,8 @@
 
 G_BEGIN_DECLS
 
+#include <gst/gstconfig.h>
+
 GST_API
 GQuark gst_uri_error_quark (void);
 
@@ -98,7 +100,6 @@
 typedef struct _GstURIHandlerInterface GstURIHandlerInterface;
 
 #include <gst/gstelement.h>
-#include <gst/gstconfig.h>
 #include "gstminiobject.h"
 
 /**