Skip to content

Commit fe67cfd

Browse files
authored
Include rmw_event_t instead of forward declaring it (#933)
Signed-off-by: Michel Hidalgo <[email protected]>
1 parent eae50c9 commit fe67cfd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rcl/include/rcl/event.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ extern "C"
2222
{
2323
#endif
2424

25+
#include <rmw/event.h>
26+
2527
#include "rcl/client.h"
2628
#include "rcl/macros.h"
2729
#include "rcl/publisher.h"
@@ -46,9 +48,6 @@ typedef enum rcl_subscription_event_type_t
4648
RCL_SUBSCRIPTION_MESSAGE_LOST,
4749
} rcl_subscription_event_type_t;
4850

49-
/// rmw struct.
50-
typedef struct rmw_event_t rmw_event_t;
51-
5251
/// Internal rcl implementation struct.
5352
struct rcl_event_impl_t;
5453

0 commit comments

Comments
 (0)