Fix: define _LGPL_SOURCE in C files
[lttng-tools.git] / src / lib / lttng-ctl / save.c
index d136b2d98ab6b2f8ff06012160be05d14f78ac75..8f8cbb639ae7c7874857d2fb977d69c12af6a03b 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 
@@ -99,7 +100,8 @@ int lttng_save_session_attr_set_output_url(
        struct lttng_save_session_attr *attr, const char *url)
 {
        int ret = 0;
-       size_t len, size;
+       size_t len;
+       ssize_t size;
        struct lttng_uri *uris = NULL;
 
        if (!attr) {
This page took 0.023002 seconds and 4 git commands to generate.