Skip to content

Commit 4f7ee86

Browse files
leeminju531fujitatomoya
authored andcommitted
Fix headers from review
Signed-off-by: Minju, Lee <[email protected]>
1 parent f100916 commit 4f7ee86

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

rcl/include/rcl/graph.h

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

25+
#include <stddef.h>
26+
2527
#include <rmw/names_and_types.h>
2628
#include <rmw/get_topic_names_and_types.h>
2729
#include <rmw/service_endpoint_info_array.h>

rcl/src/rcl/graph.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,19 @@ extern "C"
1717
{
1818
#endif
1919

20-
#include "rcl/graph.h"
20+
#include <stddef.h>
2121

22+
#include "rcl/graph.h"
2223
#include "rcl/error_handling.h"
2324
#include "rcl/guard_condition.h"
2425
#include "rcl/wait.h"
26+
2527
#include "rcutils/allocator.h"
2628
#include "rcutils/error_handling.h"
2729
#include "rcutils/macros.h"
2830
#include "rcutils/time.h"
2931
#include "rcutils/types.h"
32+
3033
#include "rmw/error_handling.h"
3134
#include "rmw/get_node_info_and_types.h"
3235
#include "rmw/get_service_endpoint_info.h"

rcl/test/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ ament_add_gtest_executable(test_info_by_service
7676
rcl/test_info_by_service.cpp
7777
)
7878
target_link_libraries(test_info_by_service
79-
${PROJECT_NAME} wait_for_entity_helpers osrf_testing_tools_cpp::memory_tools ${test_msgs_TARGETS})
79+
${PROJECT_NAME} wait_for_entity_helpers osrf_testing_tools_cpp::memory_tools ${test_msgs_TARGETS}
80+
)
8081

8182
ament_add_gtest_executable(test_count_matched
8283
rcl/test_count_matched.cpp

rcl/test/rcl/test_info_by_service.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include <gtest/gtest.h>
2020

21+
#include <cstddef>
2122
#include <memory>
2223
#include <string>
2324

0 commit comments

Comments
 (0)