#include <bsm/audit.h> in security/audit/audit_ioctl.h

security/audit/audit_ioctl.h uses a type from bsm/audit.h, so needs to
include it.  And it needs to know the type's size, so it can't just
forward-declare.

PR:		228470
Submitted by:	aniketp
MFC after:	2 weeks
Sponsored by:	Google, Inc. (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D15561
This commit is contained in:
asomers 2018-05-30 21:50:23 +00:00
parent a5d5b1e5b9
commit 1922e9d3dc

View File

@ -31,6 +31,8 @@
#ifndef _SECURITY_AUDIT_AUDIT_IOCTL_H_
#define _SECURITY_AUDIT_AUDIT_IOCTL_H_
#include <bsm/audit.h>
#define AUDITPIPE_IOBASE 'A'
/*