]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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>
Fri, 28 Aug 2020 11:32:09 +0000 (13:32 +0200)
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>
src/partition/makefs.c

index 1ce6acd01e8fa1cd70b3758879555fb8775df37c..30dcef20757d709347cc67694dc97b53e790a969 100644 (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>