gpiosim: add missing fcntl.h include
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 9 Dec 2022 10:07:03 +0000 (11:07 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 9 Dec 2022 10:09:07 +0000 (11:09 +0100)
commit43fed2c87c6a69a652c8a23f25ada9c4ce018d18
treec67f5cba139c067360d86595b0e3457fe734cb04
parent458ac155ec72f29a8ad43bbf41741fa31059ae7b
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 <bartosz.golaszewski@linaro.org>
tests/gpiosim/gpiosim.c