sys/acl.h: reduce header pollution

In commit d1dfd92177 the acl allocator was switched from malloc(9) to
uma(9) and done in a way required vm/uma.h and prerequisites.  This added
considerable header pollution to sys/sysproto.h.  The uma details were
hidden in commit b998d381f2, but the header pollution remained.  Add
less broad includes as required to keep the header self contained.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D44468
This commit is contained in:
Brooks Davis 2024-04-15 17:55:07 +01:00
parent 418b4c2a80
commit dcda49233d

View file

@ -36,9 +36,11 @@
#ifndef _SYS_ACL_H_
#define _SYS_ACL_H_
#include <sys/param.h>
#include <sys/queue.h>
#include <vm/uma.h>
#include <sys/types.h>
#include <sys/_null.h>
#ifdef _KERNEL
#include <sys/malloc.h>
#endif
/*
* POSIX.1e and NFSv4 ACL types and related constants.