Introduce SONAME defines
[lttng-ust.git] / liblttng-ust / lttng-context-vsgid.c
index f49d7f79e2ab792aea90fab7dc804b8bdab0014f..e24f4689538789142b10d73cd6c6671ab87a1e6e 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #define _LGPL_SOURCE
+#include <limits.h>
 #include <stddef.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -77,7 +78,7 @@ size_t vsgid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
 static
 void vsgid_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)
 {
        gid_t vsgid;
 
@@ -101,7 +102,7 @@ int lttng_add_vsgid_to_ctx(struct lttng_ust_ctx **ctx)
 
        type = lttng_ust_create_type_integer(sizeof(gid_t) * CHAR_BIT,
                        lttng_alignof(gid_t) * CHAR_BIT,
-                       lttng_is_signed_type(gid_t),
+                       lttng_ust_is_signed_type(gid_t),
                        BYTE_ORDER, 10);
        if (!type)
                return -ENOMEM;
This page took 0.02371 seconds and 4 git commands to generate.