mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
sys/acl.h: reduce header pollution
In commitd1dfd92177
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 commitb998d381f2
, 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:
parent
418b4c2a80
commit
dcda49233d
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue