include: add missing limits.h include
Some files used definitions found in limits.h (e.g. INT_MAX) without including it. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
6a0f554ffa
commit
4ba74c2ec9
|
@ -6,6 +6,8 @@
|
|||
|
||||
#define DT_DRV_COMPAT arm_cmsdk_dtimer
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include <zephyr/drivers/counter.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#define DT_DRV_COMPAT raspberrypi_pico_reset
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/reset.h>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_os_timer
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/timer/system_timer.h>
|
||||
#include <zephyr/irq.h>
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/timer/system_timer.h>
|
||||
#include <zephyr/irq.h>
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/drivers/timer/system_timer.h>
|
||||
|
|
Loading…
Reference in a new issue