gentoo-overlay/sys-apps/systemd/files/0027-Add-sys-file.h-include...

29 lines
770 B
Diff
Raw Permalink Normal View History

From a26ff0a3fb7f8dce6554d0a24cb69263c3551d47 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 18 Aug 2024 03:15:39 -0500
Subject: [PATCH 27/34] Add <sys/file.h> include for LOCK_* definitions
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
---
src/basic/lock-util.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/basic/lock-util.h b/src/basic/lock-util.h
index 8fb4757968c0..f925d971ebe8 100644
--- a/src/basic/lock-util.h
+++ b/src/basic/lock-util.h
@@ -2,6 +2,7 @@
#pragma once
#include <fcntl.h>
+#include <sys/file.h>
typedef struct LockFile {
int dir_fd;
--
2.41.0