`native_bt_log_and_append_error.hpp` specifically uses functions
declared in `py-common/py-common.h`, so include it there, instead of in
`native_bt.i`.
Change-Id: Ib14b92f8a000e9d0203e907aff1c59a77fb6c461
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/13507
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
#include <babeltrace2/func-status.h>
#include "common/assert.h"
-#include "py-common/py-common.h"
/* Used by some interface files */
#include "native_bt_bt2_objects.hpp"
#include "logging/comp-logging.h"
+#include "py-common/py-common.h"
+
static void restore_current_thread_error_and_append_exception_chain_recursive(
int active_log_level, PyObject *py_exc_value, bt_self_component_class *self_component_class,
bt_self_component *self_component, bt_self_message_iterator *self_message_iterator,