From 43fed2c87c6a69a652c8a23f25ada9c4ce018d18 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 9 Dec 2022 11:07:03 +0100 Subject: [PATCH] gpiosim: add missing fcntl.h include The fcntl.h header is needed for openat() and mkdirat() that the gpiosim code uses. It seems to be pulled in indirectly on most toolchains but for the sake of correctness, include it explicitly. Signed-off-by: Bartosz Golaszewski --- tests/gpiosim/gpiosim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/gpiosim/gpiosim.c b/tests/gpiosim/gpiosim.c index 43d900f..f5e910e 100644 --- a/tests/gpiosim/gpiosim.c +++ b/tests/gpiosim/gpiosim.c @@ -2,6 +2,7 @@ // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski #include +#include #include #include #include -- 2.30.2