Fix lib ring buffer compile errors
[lttng-ust.git] / libringbuffer / backend_types.h
index 1c3d3bc540410fc816983f5f33c037aee5a97a67..7417506e85d25e7ec36772979de86c3153b38baf 100644 (file)
@@ -11,6 +11,7 @@
  * Dual LGPL v2.1/GPL v2 license.
  */
 
+#include <limits.h>
 #include "shm_internal.h"
 
 struct lttng_ust_lib_ring_buffer_backend_pages {
@@ -69,7 +70,7 @@ struct channel_backend {
        unsigned int buf_size_order;    /* Order of buffer size */
        int extra_reader_sb:1;          /* Bool: has extra reader subbuffer */
        unsigned long num_subbuf;       /* Number of sub-buffers for writer */
-       u64 start_tsc;                  /* Channel creation TSC value */
+       uint64_t start_tsc;             /* Channel creation TSC value */
        DECLARE_SHMP(void *, priv_data);/* Client-specific information */
        struct lttng_ust_lib_ring_buffer_config config; /* Ring buffer configuration */
        char name[NAME_MAX];            /* Channel name */
This page took 0.02516 seconds and 4 git commands to generate.