X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fsnapshot-internal.h;h=b7391c228f084b1e7b732282010b763da1c48dd0;hp=a14564b3b03c4bc9a1ccd195f7fbce336a0b9f12;hb=36d2e35df61339e4394e84ad9790b984d259e0f0;hpb=da3c9ec137aaec74635ca1f5584040c20b1d3d7b diff --git a/include/lttng/snapshot-internal.h b/include/lttng/snapshot-internal.h index a14564b3b..b7391c228 100644 --- a/include/lttng/snapshot-internal.h +++ b/include/lttng/snapshot-internal.h @@ -20,6 +20,7 @@ #include #include +#include /* * Object used for the snapshot API. This is opaque to the public library. @@ -37,7 +38,7 @@ struct lttng_snapshot_output { */ uint64_t max_size; /* Name of the output so it can be recognized easily when listing them. */ - char name[NAME_MAX]; + char name[LTTNG_NAME_MAX]; /* Destination of the output. See lttng(1) for URL format. */ char ctrl_url[PATH_MAX]; /* Destination of the output. See lttng(1) for URL format. */