Skip to content

Commit

Permalink
fix: add needed headers
Browse files Browse the repository at this point in the history
Signed-off-by: HuaTsai <huatsai.eed07g@nctu.edu.tw>
  • Loading branch information
HuaTsai committed Jan 30, 2024
1 parent 7c57ad5 commit ba5b21a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions rclcpp/include/rclcpp/duration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <chrono>

#include "builtin_interfaces/msg/duration.hpp"
#include "builtin_interfaces/msg/time.hpp"
#include "rcl/time.h"
#include "rclcpp/visibility_control.hpp"

Expand Down
2 changes: 2 additions & 0 deletions rclcpp/src/rclcpp/duration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

#include "rcutils/logging_macros.h"

#include "rclcpp/utilities.hpp"

namespace rclcpp
{

Expand Down

0 comments on commit ba5b21a

Please sign in to comment.