X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=7090673dc4f6f846916067a23280f61c7711edd7;hb=b1d36dcecece5826b07504fae171e76be800b4ef;hp=1f55c00a3758dc4b4cbff8005e3abb17654ebffd;hpb=5b4c6da4aa59719b613c612afc05aee91f4343a4;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 1f55c00a..7090673d 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -20,6 +20,7 @@ #include #include #include +#include #ifdef __cplusplus extern "C" { @@ -123,8 +124,8 @@ struct lttng_ust_type_integer { }, \ .struct_size = sizeof(struct lttng_ust_type_integer), \ .size = sizeof(_type) * CHAR_BIT, \ - .alignment = lttng_alignof(_type) * CHAR_BIT, \ - .signedness = lttng_is_signed_type(_type), \ + .alignment = lttng_ust_rb_alignof(_type) * CHAR_BIT, \ + .signedness = lttng_ust_is_signed_type(_type), \ .reverse_byte_order = _byte_order != BYTE_ORDER, \ .base = _base, \ })) @@ -156,7 +157,7 @@ struct lttng_ust_type_float { .exp_dig = sizeof(_type) * CHAR_BIT \ - lttng_ust_float_mant_dig(_type), \ .mant_dig = lttng_ust_float_mant_dig(_type), \ - .alignment = lttng_alignof(_type) * CHAR_BIT, \ + .alignment = lttng_ust_rb_alignof(_type) * CHAR_BIT, \ .reverse_byte_order = BYTE_ORDER != FLOAT_WORD_ORDER, \ }))