diff --git a/orbbec_camera/examples/multi_camera_time_sync/image_sync_example_node.cpp b/orbbec_camera/examples/multi_camera_time_sync/image_sync_example_node.cpp index 8146d75f..1085e66c 100644 --- a/orbbec_camera/examples/multi_camera_time_sync/image_sync_example_node.cpp +++ b/orbbec_camera/examples/multi_camera_time_sync/image_sync_example_node.cpp @@ -4,9 +4,9 @@ #include #include -#if defined(ROS_JAZZY) || defined(ROS_IRON) +#if __has_include() #include -#else +#elif __has_include() #include #endif #include