From: Ikey Doherty Date: Thu, 27 Aug 2020 16:45:45 +0000 (+0100) Subject: partition/makefs: Include missing sys/file.h header X-Git-Tag: v247-rc1~343 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=677bb0555a9b3b8accf1ecaa8e86d068eb679dda;p=thirdparty%2Fsystemd.git partition/makefs: Include missing sys/file.h header This file must be included on non-glibc systems to ensure the `LOCK_EX` definition is available. Signed-off-by: Ikey Doherty --- diff --git a/src/partition/makefs.c b/src/partition/makefs.c index 1ce6acd01e8..30dcef20757 100644 --- a/src/partition/makefs.c +++ b/src/partition/makefs.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #include +#include #include #include #include