cleanup: Remove redefinition of CHAR_BIT
[lttng-ust.git] / liblttng-ust / lttng-context-perf-counters.c
index 6979143985de74f58fcdab13b67fdd3511d7651c..df10e4f128cc11d5d13e0cd7e0bed0bf8c84f881 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #define _LGPL_SOURCE
+#include <limits.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <string.h>
@@ -547,7 +548,7 @@ int lttng_add_perf_counter_to_ctx(uint32_t type,
        }
        ust_type = lttng_ust_create_type_integer(sizeof(uint64_t) * CHAR_BIT,
                        lttng_alignof(uint64_t) * CHAR_BIT,
-                       lttng_is_signed_type(uint64_t),
+                       lttng_ust_is_signed_type(uint64_t),
                        BYTE_ORDER, 10);
        if (!ust_type) {
                ret = -ENOMEM;
This page took 0.023678 seconds and 4 git commands to generate.