device: add fcntl.h for musl

Musl requires that this header be explicitly included for O_CREAT,
O_CLOEXEC, etc.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
Caleb Connolly
2023-09-27 21:13:03 +01:00
parent 91daddcb7c
commit d36097392e

View File

@@ -38,6 +38,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include "cdba-server.h"
#include "device.h"