Fix: lttng-ctl: erroneous uses of LTTNG_PACKED
[deliverable/lttng-tools.git] / include / lttng / snapshot-internal.h
index 72d4922375c1c029420184aeceeb291ee77bae3d..1c6a43746b6350091a431dd1542d71a4eda85a26 100644 (file)
@@ -11,6 +11,7 @@
 #include <limits.h>
 #include <stdint.h>
 #include <lttng/constant.h>
+#include <common/macros.h>
 
 /*
  * Object used for the snapshot API. This is opaque to the public library.
@@ -33,7 +34,7 @@ struct lttng_snapshot_output {
        char ctrl_url[PATH_MAX];
        /* Destination of the output. See lttng(1) for URL format. */
        char data_url[PATH_MAX];
-};
+} LTTNG_PACKED;
 
 /*
  * Snapshot output list object opaque to the user.
This page took 0.02341 seconds and 5 git commands to generate.