Skip to content

Commit

Permalink
Include rmw_event_t instead of forward declaring it
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic committed Sep 9, 2021
1 parent 70a5324 commit af75126
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rcl/include/rcl/event.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ extern "C"
{
#endif

#include <rmw/event.h>

#include "rcl/client.h"
#include "rcl/macros.h"
#include "rcl/publisher.h"
Expand All @@ -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;

Expand Down

0 comments on commit af75126

Please sign in to comment.