Fix undefined reference error (#1527)
Fix undefined reference error (#1527)

Signed-off-by: JLBuenoLopez-eProsima <f991aa21c89161138c75fd462ca1a39ac03b5622@eprosima.com>
eProsima/Fast-RTPS,eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-RTPS,eProsima/Fast-RTPS,eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-DDS