Instead just include required (public and local) header
gst-validate-scenario.h:43:44: error: redefinition of typedef 'GstValidateActionParameter' is a C11 feature [-Werror,-Wtypedef-redefinition]
#define __GST_VALIDATE_INTERNAL_H__
#include <gst/gst.h>
+#include "gst-validate-scenario.h"
GST_DEBUG_CATEGORY_EXTERN (gstvalidate_debug);
#define GST_CAT_DEFAULT gstvalidate_debug
extern GRegex *newline_regex;
-typedef struct _GstValidateScenario GstValidateScenario;
-typedef struct _GstValidateAction GstValidateAction;
-typedef struct _GstValidateActionParameter GstValidateActionParameter;
typedef struct _GstValidateActionType GstValidateActionType;
-typedef gboolean (*GstValidateExecuteAction) (GstValidateScenario * scenario, GstValidateAction * action);
struct _GstValidateActionType
{