commit | 3fab9cdeebb5bd40681a59f9f3f3406ff600cfeb | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Tue Jan 24 08:38:01 2012 -0500 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Tue Jan 24 08:38:01 2012 -0500 |
tree | 34f63386bf34cca8fdc4b75828a52b97f36229c1 | |
parent | 8c48de15b1afeb1cd01a753195a29b1a7811dbfe [diff] [blame] |
Support for building on MacOS X as part of Android.
diff --git a/policy_scan.l b/policy_scan.l index 8abc4d9..3e6c940 100644 --- a/policy_scan.l +++ b/policy_scan.l
@@ -27,7 +27,11 @@ typedef int (* require_func_t)(); +#ifdef ANDROID +#include "policy_parse.h" +#else #include "y.tab.h" +#endif static char linebuf[2][255]; static unsigned int lno = 0; @@ -43,7 +47,7 @@ unsigned int policydb_errors = 0; %} -%option noinput nounput +%option noinput nounput noyywrap %array letter [A-Za-z]