Skip to content

Commit

Permalink
Include rmw_event_t instead of forward declaring it (#933)
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic authored Sep 14, 2021
1 parent eae50c9 commit fe67cfd
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_t rmw_event_t;

/// Internal rcl implementation struct.
struct rcl_event_impl_t;

Expand Down

0 comments on commit fe67cfd

Please sign in to comment.