mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue