Add sys/capability.h deprecation warning
In r263232 sys/capability.h was renamed to sys/capsicum.h, to avoid conflicts with a capability.h header found on other operating systems. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
f7ae9a84e3
commit
ef4fe1d90c
@ -38,6 +38,7 @@
|
||||
#ifndef _SYS_CAPABILITY_H_
|
||||
#define _SYS_CAPABILITY_H_
|
||||
|
||||
#warning this file includes <sys/capability.h> which is deprecated
|
||||
#include <sys/capsicum.h>
|
||||
|
||||
#endif /* !_SYS_CAPABILITY_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user