validate: Include config.h before anything else

To avoid double-defines (such as GST_LEVEL_DEFAULT)
This commit is contained in:
Edward Hervey 2019-03-04 15:20:49 +01:00 committed by Edward Hervey
parent 4893d6d561
commit a750e3b540
2 changed files with 8 additions and 8 deletions

View file

@ -23,16 +23,16 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "formatting.h"
#include <gst/gst.h>
#include <string.h>
#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
typedef void (*Uint64Formatter) (gchar * dest, guint64 time);
void

View file

@ -23,6 +23,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include "../../gst/validate/validate.h"
#include "../../gst/validate/gst-validate-utils.h"
@ -33,10 +37,6 @@
#include <fcntl.h>
#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define VALIDATE_FLOW_MISMATCH g_quark_from_static_string ("validateflow::mismatch")
typedef enum _ValidateFlowMode