[PATCH 04/22] Including <sys/mount.h> unconditionally.

Alejandro Colomar alx.manpages at gmail.com
Sun Jun 19 13:50:14 UTC 2022


It's a commonly available header.
---
 src/nxt_unix.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/nxt_unix.h b/src/nxt_unix.h
index 16d27383..ab9e2d17 100644
--- a/src/nxt_unix.h
+++ b/src/nxt_unix.h
@@ -238,9 +238,7 @@
 #include <sys/random.h>             /* getentropy(). */
 #endif
 
-#if (NXT_HAVE_ISOLATION_ROOTFS)
 #include <sys/mount.h>
-#endif
 
 #if (NXT_HAVE_LINUX_OPENAT2_H)
 #include <linux/openat2.h>
-- 
2.36.1



More information about the unit mailing list