X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Frelayd.h;h=7bc7a12173236b4609322291ec3d5af89038853b;hb=76f66f6356f4ad6bebc7b69b3856d2529c102106;hp=b897714d719ea1e618af6f9b2695c46d301007da;hpb=6d805429e9cb049eb0c9205fcf742a53e3166caf;p=lttng-tools.git diff --git a/src/common/sessiond-comm/relayd.h b/src/common/sessiond-comm/relayd.h index b897714d7..7bc7a1217 100644 --- a/src/common/sessiond-comm/relayd.h +++ b/src/common/sessiond-comm/relayd.h @@ -25,6 +25,7 @@ #include #include +#include #define RELAYD_VERSION_COMM_MAJOR 2 #define RELAYD_VERSION_COMM_MINOR 1 @@ -56,7 +57,7 @@ struct lttcomm_relayd_data_hdr { * Used to add a stream on the relay daemon. */ struct lttcomm_relayd_add_stream { - char channel_name[LTTNG_SYMBOL_NAME_LEN]; + char channel_name[DEFAULT_STREAM_NAME_LEN]; char pathname[PATH_MAX]; } __attribute__ ((__packed__));