diff options
-rw-r--r-- | include/px4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/px4.h b/include/px4.h index 7dedd5f82..abc10276f 100644 --- a/include/px4.h +++ b/include/px4.h @@ -37,11 +37,11 @@ * Main system header with common convenience functions */ -#ifdef __linux +#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) #include "ros/ros.h" #define px4_warnx ROS_WARN #define px4_infox ROS_INFO #else #define px4_warnx warnx #define px4_infox warnx -#endif
\ No newline at end of file +#endif |