cleanup: Remove redefinition of CHAR_BIT
[lttng-ust.git] / liblttng-ust / lttng-context-ip.c
index b56e0db157e43cafd57a64e2e04e415cb84f7595..903123a74686d9e04dde46792076671a17fc346a 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #define _LGPL_SOURCE
+#include <limits.h>
 #include <stddef.h>
 #include <sys/types.h>
 #include <unistd.h>
@@ -46,7 +47,7 @@ int lttng_add_ip_to_ctx(struct lttng_ust_ctx **ctx)
 
        type = lttng_ust_create_type_integer(sizeof(void *) * CHAR_BIT,
                        lttng_alignof(void *) * CHAR_BIT,
-                       lttng_is_signed_type(void *),
+                       lttng_ust_is_signed_type(void *),
                        BYTE_ORDER, 16);
        if (!type)
                return -ENOMEM;
This page took 0.024624 seconds and 4 git commands to generate.