*/
#define _LGPL_SOURCE
+#include <limits.h>
#include <stddef.h>
#include <pthread.h>
#include <lttng/ust-events.h>
static
void pthread_id_record(struct lttng_ust_ctx_field *field,
struct lttng_ust_lib_ring_buffer_ctx *ctx,
- struct lttng_channel *chan)
+ struct lttng_ust_channel_buffer *chan)
{
unsigned long pthread_id;
type = lttng_ust_create_type_integer(sizeof(unsigned long) * CHAR_BIT,
lttng_alignof(unsigned long) * CHAR_BIT,
- lttng_is_signed_type(unsigned long),
+ lttng_ust_is_signed_type(unsigned long),
BYTE_ORDER, 10);
if (!type)
return -ENOMEM;