This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit aa5a38399a2c805e67b86190ba50076decdd7326 Author: dongjiuzhu1 <[email protected]> AuthorDate: Wed Jun 5 16:36:38 2024 +0800 system/uorb: fix compile warning 1. add string.h becuase strlen in uORB.c 2. add inttypes.h becuase PRIu64/... in sensor/*.c Signed-off-by: dongjiuzhu1 <[email protected]> --- system/uorb/uORB/uORB.c | 1 + system/uorb/uORB/uORB.h | 1 + 2 files changed, 2 insertions(+) diff --git a/system/uorb/uORB/uORB.c b/system/uorb/uORB/uORB.c index 9d9f6ac75..d979277cb 100644 --- a/system/uorb/uORB/uORB.c +++ b/system/uorb/uORB/uORB.c @@ -28,6 +28,7 @@ #include <sys/ioctl.h> #include <time.h> #include <unistd.h> +#include <string.h> #include <nuttx/streams.h> #include <uORB/uORB.h> diff --git a/system/uorb/uORB/uORB.h b/system/uorb/uORB/uORB.h index ba0c9bcf0..1db6e78c2 100644 --- a/system/uorb/uORB/uORB.h +++ b/system/uorb/uORB/uORB.h @@ -36,6 +36,7 @@ #include <stdint.h> #include <stdbool.h> #include <syslog.h> +#include <inttypes.h> /**************************************************************************** * Public Types
