#include <stdlib.h>
#include <stdint.h>
-#include <babeltrace2/error-const.h>
-#include <babeltrace2/error-cause-const.h>
+#include <babeltrace2/babeltrace.h>
#include "error.h"
#include "graph/message/iterator.h"
* message iterator, which is a self component port input
* message iterator.
*/
- BT_ASSERT(iter->type ==
- BT_MESSAGE_ITERATOR_TYPE_SELF_COMPONENT_PORT_INPUT);
input_port_iter = (void *) iter;
cause = g_new0(struct bt_error_cause_message_iterator_actor, 1);
if (!cause) {