From fe67cfd9c003a1487e0ceea2a766e6f6d1940558 Mon Sep 17 00:00:00 2001 From: Michel Hidalgo Date: Tue, 14 Sep 2021 16:44:27 -0300 Subject: [PATCH] Include rmw_event_t instead of forward declaring it (#933) 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 a366dd45b..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_t rmw_event_t; - /// Internal rcl implementation struct. struct rcl_event_impl_t;