From 6929881aa496ec2baf4fb52cc674dc2f777a1720 Mon Sep 17 00:00:00 2001 From: Joe Dong Date: Sat, 12 Oct 2024 18:39:36 +0800 Subject: [PATCH] fixed jazzy compile error --- orbbec_camera/tools/metadata_export_files.hpp | 5 +++++ orbbec_camera/tools/metadata_save_files.hpp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/orbbec_camera/tools/metadata_export_files.hpp b/orbbec_camera/tools/metadata_export_files.hpp index 637aa70c..e94c32b3 100644 --- a/orbbec_camera/tools/metadata_export_files.hpp +++ b/orbbec_camera/tools/metadata_export_files.hpp @@ -11,7 +11,12 @@ #include #include +#include +#if defined(ROS_JAZZY) || defined(ROS_IRON) +#include +#else #include +#endif #include #include #include diff --git a/orbbec_camera/tools/metadata_save_files.hpp b/orbbec_camera/tools/metadata_save_files.hpp index 0033b276..4d4861ac 100644 --- a/orbbec_camera/tools/metadata_save_files.hpp +++ b/orbbec_camera/tools/metadata_save_files.hpp @@ -11,7 +11,11 @@ #include #include +#if defined(ROS_JAZZY) || defined(ROS_IRON) +#include +#else #include +#endif #include #include #include