include: fix native_posix_counter includes.

Add limits.h and irq.h to fix build errors for boards/tests that include
the zephyr,nativer-_posix-counter driver.

Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
Keith Short 2022-10-12 10:51:40 -06:00 committed by Anas Nashif
commit a328bc0183

View file

@ -8,8 +8,10 @@
#include <zephyr/device.h> #include <zephyr/device.h>
#include <zephyr/drivers/counter.h> #include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <soc.h> #include <soc.h>
#include <hw_counter.h> #include <hw_counter.h>
#include <limits.h>
#define DRIVER_CONFIG_INFO_FLAGS (COUNTER_CONFIG_INFO_COUNT_UP) #define DRIVER_CONFIG_INFO_FLAGS (COUNTER_CONFIG_INFO_COUNT_UP)
#define DRIVER_CONFIG_INFO_CHANNELS 1 #define DRIVER_CONFIG_INFO_CHANNELS 1