partition/makefs: Include missing sys/file.h header
authorIkey Doherty <ikey.doherty@lispysnake.com>
Thu, 27 Aug 2020 16:45:45 +0000 (17:45 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 Sep 2020 09:33:20 +0000 (11:33 +0200)
commit2cae29180ae00a6258888f4900644f65a087f1e7
tree8c7bccb262354a4d598a8435827be2aa0396ff31
parent2a6d744c49eb9be3cc7cc204f16715b73c6fca0a
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 <ikey.doherty@lispysnake.com>
(cherry picked from commit 677bb0555a9b3b8accf1ecaa8e86d068eb679dda)
(cherry picked from commit 5e884e7ee0476d46b4da769904a067ddbab2132b)
src/partition/makefs.c