diff mbox

secilc: correct include path of cil.h for Android

Message ID 1475205475-146225-1-git-send-email-bowgotsai@google.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Bowgo Tsai Sept. 30, 2016, 3:17 a.m. UTC
From: bowgotsai <bowgotsai@google.com>

The original CL in AOSP tree:
  https://android-review.googlesource.com/#/c/274894

BUG=31366888
---
 secilc/secilc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bowgo Tsai Sept. 30, 2016, 3:19 a.m. UTC | #1
On Fri, Sep 30, 2016 at 11:17 AM, Bowgo Tsai <bowgotsai@google.com> wrote:

> From: bowgotsai <bowgotsai@google.com>
>
> The original CL in AOSP tree:
>   https://android-review.googlesource.com/#/c/274894
>
> BUG=31366888
> ---
>  secilc/secilc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/secilc/secilc.c b/secilc/secilc.c
> index e98abe2..dad1e90 100644
> --- a/secilc/secilc.c
> +++ b/secilc/secilc.c
> @@ -35,7 +35,7 @@
>  #include <sys/stat.h>
>
>  #ifdef ANDROID
> -#include <sepol/cil.h>
> +#include <cil/cil.h>
>  #else
>  #include <sepol/cil/cil.h>
>  #endif
> --
> 2.8.0.rc3.226.g39d4020
>
>
Stephen Smalley Sept. 30, 2016, 12:35 p.m. UTC | #2
On 09/29/2016 11:17 PM, Bowgo Tsai wrote:
> From: bowgotsai <bowgotsai@google.com>
> 
> The original CL in AOSP tree:
>   https://android-review.googlesource.com/#/c/274894
> 
> BUG=31366888

Thanks, applied both patches.

> ---
>  secilc/secilc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/secilc/secilc.c b/secilc/secilc.c
> index e98abe2..dad1e90 100644
> --- a/secilc/secilc.c
> +++ b/secilc/secilc.c
> @@ -35,7 +35,7 @@
>  #include <sys/stat.h>
>  
>  #ifdef ANDROID
> -#include <sepol/cil.h>
> +#include <cil/cil.h>
>  #else
>  #include <sepol/cil/cil.h>
>  #endif
>
diff mbox

Patch

diff --git a/secilc/secilc.c b/secilc/secilc.c
index e98abe2..dad1e90 100644
--- a/secilc/secilc.c
+++ b/secilc/secilc.c
@@ -35,7 +35,7 @@ 
 #include <sys/stat.h>
 
 #ifdef ANDROID
-#include <sepol/cil.h>
+#include <cil/cil.h>
 #else
 #include <sepol/cil/cil.h>
 #endif