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
@ -77,12 +77,12 @@ extern int SIZE_BUF;
|
|||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
#include <sys/capsicum.h>
|
#include <sys/capsicum.h>
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
#endif /* __FreeBSD__ */
|
||||||
|
#ifdef HAVE_CAPSICUM
|
||||||
#include <libcapsicum.h>
|
#include <libcapsicum.h>
|
||||||
#include <libcapsicum_dns.h>
|
#include <libcapsicum_dns.h>
|
||||||
#include <libcapsicum_service.h>
|
#include <libcapsicum_service.h>
|
||||||
#include <nv.h>
|
#include <nv.h>
|
||||||
#endif /* __FreeBSD__ */
|
|
||||||
#ifdef HAVE_CAPSICUM
|
|
||||||
#include <sys/capability.h>
|
#include <sys/capability.h>
|
||||||
#include <sys/ioccom.h>
|
#include <sys/ioccom.h>
|
||||||
#include <net/bpf.h>
|
#include <net/bpf.h>
|
||||||
@ -966,8 +966,8 @@ main(int argc, char **argv)
|
|||||||
FILE *VFile;
|
FILE *VFile;
|
||||||
#ifdef HAVE_CAPSICUM
|
#ifdef HAVE_CAPSICUM
|
||||||
cap_rights_t rights;
|
cap_rights_t rights;
|
||||||
int cansandbox;
|
|
||||||
#endif /* HAVE_CAPSICUM */
|
#endif /* HAVE_CAPSICUM */
|
||||||
|
int cansandbox;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if(wsockinit() != 0) return 1;
|
if(wsockinit() != 0) return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user