On 04/06/2016 07:15 PM, Nick Kralevich wrote: > Other build scripts define -D_GNU_SOURCE. The Android build > system should too. > > Fixes the following warning: > > external/selinux/libsepol/cil/src/cil_mem.c:109:7: warning: implicit > declaration of function 'vasprintf' is invalid in C99 > [-Wimplicit-function-declaration] Thanks, applied. > --- > libsepol/Android.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libsepol/Android.mk b/libsepol/Android.mk > index a43b343..5d2c96b 100644 > --- a/libsepol/Android.mk > +++ b/libsepol/Android.mk > @@ -64,6 +64,7 @@ cil_src_files := \ > cil/src/cil_verify.c > > common_cflags := \ > + -D_GNU_SOURCE \ > -Wall -W -Wundef \ > -Wshadow -Wmissing-noreturn \ > -Wmissing-format-attribute > _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.