From: q66 Date: Sat, 6 Dec 2025 16:58:14 +0000 (+0100) Subject: import: include unistd.h for pipe2 X-Git-Tag: v259-rc3~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39238bdc86444abcaa41577302ebfec3bc7f7b3;p=thirdparty%2Fsystemd.git 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. --- 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"