Don't include libcapsicum headers when requested.
Reported by: luigi MFC after: 14 days X-MFC-with: r276788
This commit is contained in:
parent
7cf3e8e4c3
commit
2fae2ab4c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277638
@ -77,12 +77,12 @@ extern int SIZE_BUF;
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/capsicum.h>
|
||||
#include <sys/sysctl.h>
|
||||
#endif /* __FreeBSD__ */
|
||||
#ifdef HAVE_CAPSICUM
|
||||
#include <libcapsicum.h>
|
||||
#include <libcapsicum_dns.h>
|
||||
#include <libcapsicum_service.h>
|
||||
#include <nv.h>
|
||||
#endif /* __FreeBSD__ */
|
||||
#ifdef HAVE_CAPSICUM
|
||||
#include <sys/capability.h>
|
||||
#include <sys/ioccom.h>
|
||||
#include <net/bpf.h>
|
||||
@ -966,8 +966,8 @@ main(int argc, char **argv)
|
||||
FILE *VFile;
|
||||
#ifdef HAVE_CAPSICUM
|
||||
cap_rights_t rights;
|
||||
int cansandbox;
|
||||
#endif /* HAVE_CAPSICUM */
|
||||
int cansandbox;
|
||||
|
||||
#ifdef WIN32
|
||||
if(wsockinit() != 0) return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user