From af75126a45ffd600dd62d8c61746dc5f9e16e65b Mon Sep 17 00:00:00 2001 From: Michel Hidalgo Date: Thu, 9 Sep 2021 11:49:48 -0300 Subject: [PATCH] Include rmw_event_t instead of forward declaring it Signed-off-by: Michel Hidalgo --- rcl/include/rcl/event.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rcl/include/rcl/event.h b/rcl/include/rcl/event.h index 12903a7f2..ecf9a212e 100644 --- a/rcl/include/rcl/event.h +++ b/rcl/include/rcl/event.h @@ -22,6 +22,8 @@ extern "C" { #endif +#include + #include "rcl/client.h" #include "rcl/macros.h" #include "rcl/publisher.h" @@ -46,9 +48,6 @@ typedef enum rcl_subscription_event_type_t RCL_SUBSCRIPTION_MESSAGE_LOST, } rcl_subscription_event_type_t; -/// rmw struct. -typedef struct rmw_event_s rmw_event_t; - /// Internal rcl implementation struct. struct rcl_event_impl_t;