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>
This commit is contained in:
Ikey Doherty 2020-08-27 17:45:45 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent ae6ad21e0b
commit 677bb0555a
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h>
#include <sys/file.h>
#include <sys/prctl.h>
#include <sys/stat.h>
#include <sys/types.h>