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:
Gerard Marull-Paretas 2022-10-04 17:05:05 +02:00 committed by Carles Cufí
parent 6a0f554ffa
commit 4ba74c2ec9
5 changed files with 11 additions and 0 deletions

View file

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

View file

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

View file

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

View file

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

View file

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