diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2012-01-24 08:38:01 -0500 |
---|---|---|
committer | Stephen Smalley <sds@tycho.nsa.gov> | 2012-01-24 08:38:01 -0500 |
commit | 3fab9cdeebb5bd40681a59f9f3f3406ff600cfeb (patch) | |
tree | 34f63386bf34cca8fdc4b75828a52b97f36229c1 /checkpolicy.c | |
parent | 8c48de15b1afeb1cd01a753195a29b1a7811dbfe (diff) | |
download | checkpolicy-3fab9cdeebb5bd40681a59f9f3f3406ff600cfeb.tar.gz |
Support for building on MacOS X as part of Android.
Diffstat (limited to 'checkpolicy.c')
-rw-r--r-- | checkpolicy.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/checkpolicy.c b/checkpolicy.c index a35a749..544f235 100644 --- a/checkpolicy.c +++ b/checkpolicy.c @@ -70,6 +70,10 @@ #include <errno.h> #include <sys/mman.h> +#ifdef DARWIN +#include <ctype.h> +#endif + #include <sepol/policydb/policydb.h> #include <sepol/policydb/services.h> #include <sepol/policydb/conditional.h> |