Skip to content

Commit 0ef8280

Browse files
committed
Fix warning
1 parent 2b9b6eb commit 0ef8280

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • rclc/complex_msg_publisher

rclc/complex_msg_publisher/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <complex_msgs/msg/nested_msg_test.h>
77

88
#include <stdio.h>
9-
9+
#include <unistd.h>
1010

1111
#define RCCHECK(fn) { rcl_ret_t temp_rc = fn; if((temp_rc != RCL_RET_OK)){printf("Failed status on line %d: %d. Aborting.\n",__LINE__,(int)temp_rc); return 1;}}
1212
#define RCSOFTCHECK(fn) { rcl_ret_t temp_rc = fn; if((temp_rc != RCL_RET_OK)){printf("Failed status on line %d: %d. Continuing.\n",__LINE__,(int)temp_rc);}}

0 commit comments

Comments
 (0)