[PATCH v2 18/25] Including <sys/param.h> unconditionally.
Alejandro Colomar
alx.manpages at gmail.com
Mon Jun 20 07:11:01 UTC 2022
---
src/nxt_fs.c | 3 ++-
src/nxt_unix.h | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/nxt_fs.c b/src/nxt_fs.c
index 71498f99..0e461e46 100644
--- a/src/nxt_fs.c
+++ b/src/nxt_fs.c
@@ -4,8 +4,9 @@
#include <nxt_main.h>
-#if (NXT_HAVE_FREEBSD_NMOUNT)
#include <sys/param.h>
+
+#if (NXT_HAVE_FREEBSD_NMOUNT)
#include <sys/uio.h>
#endif
diff --git a/src/nxt_unix.h b/src/nxt_unix.h
index 7f9a2914..00f70e56 100644
--- a/src/nxt_unix.h
+++ b/src/nxt_unix.h
@@ -169,7 +169,7 @@
#endif
#include <sys/ioctl.h>
#include <sys/mman.h>
-#include <sys/param.h> /* MAXPATHLEN */
+#include <sys/param.h>
#include <sys/resource.h>
#include <sys/socket.h>
#include <sys/stat.h>
--
2.36.1
More information about the unit
mailing list