From 556fc8e34895336f5d5f535ac8546195a35fe93d Mon Sep 17 00:00:00 2001 From: sea-bass Date: Fri, 29 Nov 2024 10:27:53 -0500 Subject: [PATCH] Conditional include --- moveit_ros/moveit_servo/src/servo_node.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/moveit_ros/moveit_servo/src/servo_node.cpp b/moveit_ros/moveit_servo/src/servo_node.cpp index 1341cbf589..4bf1c349b1 100644 --- a/moveit_ros/moveit_servo/src/servo_node.cpp +++ b/moveit_ros/moveit_servo/src/servo_node.cpp @@ -38,9 +38,14 @@ * */ -#include +#if __has_include() #include +#else +#include +#endif + #include +#include namespace moveit_servo {