From 53279af5d44dce2b679399d6a36eb46292928175 Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Thu, 29 Apr 2021 22:04:34 +0800 Subject: Static: support for openat2() features. Support for chrooting, rejecting symlinks, and rejecting crossing mounting points on a per-request basis during static file serving. --- src/nxt_unix.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/nxt_unix.h') diff --git a/src/nxt_unix.h b/src/nxt_unix.h index 609f7e95..393f61d9 100644 --- a/src/nxt_unix.h +++ b/src/nxt_unix.h @@ -242,6 +242,10 @@ #include #endif +#if (NXT_HAVE_OPENAT2) +#include +#endif + #if (NXT_TEST_BUILD) #include #endif -- cgit