Skip to content

Commit

Permalink
Conditional include
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Nov 29, 2024
1 parent f381868 commit 556fc8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion moveit_ros/moveit_servo/src/servo_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,14 @@
*
*/

#include <moveit_servo/servo_node.hpp>
#if __has_include(<urdf/realtime_tools/realtime_helpers.hpp.hpp>)
#include <realtime_tools/realtime_helpers.hpp>
#else
#include <realtime_tools/thread_priority.hpp>
#endif

#include <moveit/utils/logger.hpp>
#include <moveit_servo/servo_node.hpp>

namespace moveit_servo
{
Expand Down

0 comments on commit 556fc8e

Please sign in to comment.