Compile fix following moved headers
[lttng-ust.git] / libringbuffer / backend_types.h
index 1c3d3bc540410fc816983f5f33c037aee5a97a67..7300309f27ef97071354a8f4298ad7bed50d9f67 100644 (file)
@@ -11,7 +11,9 @@
  * Dual LGPL v2.1/GPL v2 license.
  */
 
+#include <limits.h>
 #include "shm_internal.h"
+#include "vatomic.h"
 
 struct lttng_ust_lib_ring_buffer_backend_pages {
        unsigned long mmap_offset;      /* offset of the subbuffer in mmap */
@@ -69,7 +71,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.023591 seconds and 4 git commands to generate.