#include <sys/syscall.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-config.h>
+#include <lttng/ringbuffer-context.h>
#include <urcu/system.h>
#include <urcu/arch.h>
#include <urcu/rculist.h>
lttng_alignof(uint64_t) * CHAR_BIT,
lttng_is_signed_type(uint64_t),
BYTE_ORDER, 10);
- if (!type) {
+ if (!ust_type) {
ret = -ENOMEM;
goto type_alloc_error;
}