From c39238bdc86444abcaa41577302ebfec3bc7f7b3 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 6 Dec 2025 17:58:14 +0100 Subject: [PATCH] import: include unistd.h for pipe2 This is needed for e.g. pipe2 and unlinkat and a build failure is reproducible when libarchive support is disabled. --- src/import/import-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/import/import-common.c b/src/import/import-common.c index 2fb781442a1..28a913fdb73 100644 --- a/src/import/import-common.c +++ b/src/import/import-common.c @@ -2,6 +2,7 @@ #include #include +#include #include "sd-event.h" -- 2.47.3