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 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu1 2024-06-05 16:36:38 +08:00 committed by Lup Yuen Lee
parent 2933182cf6
commit f0db02740b
2 changed files with 2 additions and 0 deletions

View File

@ -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>

View File

@ -36,6 +36,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <syslog.h>
#include <inttypes.h>
/****************************************************************************
* Public Types