From 3268f4a8eaae015ed3b916c771d7aac278905f5c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 31 Dec 2023 19:18:42 -0800 Subject: [PATCH] gpio: Include limits.h for PATH_MAX Musl exposes this problem where PATH_MAX is used but limits.h is not included, it works with glibc perhaps due to limits.h being indirectly included by another system header. Signed-off-by: Khem Raj --- src/gpio/gpio_chardev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gpio/gpio_chardev.c b/src/gpio/gpio_chardev.c index 2cd1596..9f727de 100644 --- a/src/gpio/gpio_chardev.c +++ b/src/gpio/gpio_chardev.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include