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:
parent
2933182cf6
commit
f0db02740b
@ -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>
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <syslog.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
|
Loading…
x
Reference in New Issue
Block a user