diff options
Diffstat (limited to 'sys/bsm')
-rw-r--r-- | sys/bsm/audit_record.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/bsm/audit_record.h b/sys/bsm/audit_record.h index 7e6074f..5da5e4f2 100644 --- a/sys/bsm/audit_record.h +++ b/sys/bsm/audit_record.h @@ -33,8 +33,8 @@ #ifndef _BSM_AUDIT_RECORD_H_ #define _BSM_AUDIT_RECORD_H_ +#include <sys/types.h> #include <sys/time.h> /* struct timeval */ -#include <sys/caprights.h> /* cap_rights_t */ /* * Token type identifiers. @@ -191,6 +191,13 @@ struct sockaddr_un; struct vnode_au_info; #endif +#ifndef _CAP_RIGHTS_T_DECLARED +#define _CAP_RIGHTS_T_DECLARED +struct cap_rights; + +typedef struct cap_rights cap_rights_t; +#endif + int au_open(void); int au_write(int d, token_t *m); int au_close(int d, int keep, short event); |