Skip to content

Commit a328bc0

Browse files
keith-zephyrnashif
authored andcommitted
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 <[email protected]>
1 parent e01bee5 commit a328bc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/counter/counter_native_posix.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88

99
#include <zephyr/device.h>
1010
#include <zephyr/drivers/counter.h>
11+
#include <zephyr/irq.h>
1112
#include <soc.h>
1213
#include <hw_counter.h>
14+
#include <limits.h>
1315

1416
#define DRIVER_CONFIG_INFO_FLAGS (COUNTER_CONFIG_INFO_COUNT_UP)
1517
#define DRIVER_CONFIG_INFO_CHANNELS 1

0 commit comments

Comments
 (0)