aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2024-04-15 16:53:05 +0000
committerBrooks Davis <brooks@FreeBSD.org>2024-04-15 20:35:40 +0000
commit6bb132ba1e4e28cf1e713c8dcd77f2e8af7bde88 (patch)
tree1648b198b51ae0fa57d917cb94830f6cdeeb7c14 /sys/sys
parent101c80fe46b5c1a0f957e21ea56bf868451226aa (diff)
downloadsrc-6bb132ba1e4e28cf1e713c8dcd77f2e8af7bde88.tar.gz
src-6bb132ba1e4e28cf1e713c8dcd77f2e8af7bde88.zip
Reduce reliance on sys/sysproto.h pollution
Add sys/errno.h, sys/malloc.h, sys/queue.h, and vm/uma.h as needed. sys/sysproto.h currently includes sys/acl.h which currently includes sys/param.h, sys/queue.h, and vm/uma.h which in turn bring in sys/errno.h sys/malloc.h. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44465
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/namei.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/namei.h b/sys/sys/namei.h
index cb69fc96b112..08395c6d699f 100644
--- a/sys/sys/namei.h
+++ b/sys/sys/namei.h
@@ -38,6 +38,8 @@
#include <sys/_seqc.h>
#include <sys/_uio.h>
+#include <vm/uma.h>
+
enum nameiop { LOOKUP, CREATE, DELETE, RENAME };
struct componentname {