Date: Wed, 22 Oct 2003 10:25:24 -0700 (PDT) From: Andrew Reisse <areisse@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 40171 for review Message-ID: <200310221725.h9MHPOcJ006224@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=40171 Change 40171 by areisse@areisse_ibook on 2003/10/22 10:24:32 fixes for apple compilation Affected files ... .. //depot/projects/trustedbsd/sedarwin/sebsd_cmds/checkpolicy/Makefile#1 add .. //depot/projects/trustedbsd/sedarwin/sebsd_cmds/checkpolicy/checkpolicy.c#2 edit .. //depot/projects/trustedbsd/sedarwin/sebsd_cmds/checkpolicy/policy_parse.y#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/sebsd_cmds/checkpolicy/checkpolicy.c#2 (text+ko) ==== @@ -29,7 +29,6 @@ * the loaded policy configuration. */ -#ifdef __FreeBSD__ #include <stdio.h> #include <unistd.h> #include <errno.h> @@ -40,10 +39,7 @@ #include <sys/stat.h> #include <sys/mman.h> #include <netinet/in.h> -#include "linux-compat.h" -#else /* __FreeBSD__ */ -#include <getopt.h> -#endif /* __FreeBSD__ */ +#include <security/sebsd/linux-compat.h> #include "global.h" #include "policydb.h" ==== //depot/projects/trustedbsd/sedarwin/sebsd_cmds/checkpolicy/policy_parse.y#2 (text+ko) ==== @@ -6,18 +6,16 @@ /* FLASK */ %{ -#ifdef __FreeBSD__ #include <stdio.h> #include <errno.h> #include <sys/types.h> #include <netinet/in.h> -#include "linux-compat.h" -#endif /* __FreeBSD__ */ +#include <security/sebsd/linux-compat.h> #include "policydb.h" #include "services.h" #include "queue.h" #include "checkpolicy.h" -#include "flask.h" +#include <security/sebsd/flask.h> #include "security.h" #define TRUE 1help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310221725.h9MHPOcJ006224>
