Fix: lttng-ctl: erroneous uses of LTTNG_PACKED
[lttng-tools.git] / include / lttng / snapshot-internal.h
index 8012a1e4ea58303456f4d6c23fb0e624e3f7278f..78c741349c750a0c1ae81a61b7aa4764fec86698 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.030306 seconds and 4 git commands to generate.