From e212f422796da9e626030289faf083407c8955df Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Sun, 2 Apr 2023 01:25:46 +0900
Subject: [PATCH] fd-util: introduce dir_fd_is_root_or_cwd()

Conflict:Import only fcntl.h to prevent dependency failures.
Reference:https://github.com/systemd/systemd/commit/e212f422796da9e626030289faf083407c8955df

---
 src/basic/fd-util.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/basic/fd-util.h b/src/basic/fd-util.h
index 9529a47..a08907e 100644
--- a/src/basic/fd-util.h
+++ b/src/basic/fd-util.h
@@ -2,6 +2,7 @@
 #pragma once
 
 #include <dirent.h>
+#include <fcntl.h>
 #include <stdbool.h>
 #include <stdio.h>
 #include <sys/socket.h>
-- 
2.33.0

