diff --git a/libselinux/Android.bp b/libselinux/Android.bp index b877dc39..8655d49c 100644 --- a/libselinux/Android.bp +++ b/libselinux/Android.bp @@ -110,6 +110,9 @@ cc_defaults { ], }, android: { + cflags: [ + "-DHAVE_STRLCPY" + ], srcs: [ "src/android/android_device.c", ],