Create libuuid/libc uuid wrapper
[lttng-ust.git] / liblttng-ust / ltt-ring-buffer-client.h
index 7e853992f6c7d8accbf02450a856ba17f6de2df8..825db71271cba02880946bbcdce08a09ad17599b 100644 (file)
@@ -8,11 +8,11 @@
  * Dual LGPL v2.1/GPL v2 license.
  */
 
-#define _GNU_SOURCE
 #include <stdint.h>
 #include <lttng/ust-events.h>
 #include "lttng/bitfield.h"
 #include "clock.h"
+#include "uuid.h"
 #include "ltt-tracer.h"
 #include "../libringbuffer/frontend_types.h"
 
@@ -32,7 +32,7 @@ struct packet_header {
                                         * Trace magic number.
                                         * contains endianness information.
                                         */
-       uint8_t uuid[16];
+       uint8_t uuid[LTTNG_UST_UUID_LEN];
        uint32_t stream_id;
 
        struct {
This page took 0.0243 seconds and 4 git commands to generate.