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:
Ed Maste 2017-01-25 15:42:29 +00:00
parent f7ae9a84e3
commit ef4fe1d90c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312758

View File

@ -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_ */