From 80e34e301791357a526baa0be3c85fa951d87c07 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 14 Sep 2021 12:35:01 -0700 Subject: [PATCH] Fix compiling libprocessgroup against musl Include sys/cdefs.h before using __BEGIN_DECLS. Bug: 190084016 Test: m USE_HOST_MUSL=true Change-Id: Iac009275f7198476dd83ac70dbbc626b70f88ed1 --- libprocessgroup/cgrouprc/include/android/cgrouprc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libprocessgroup/cgrouprc/include/android/cgrouprc.h b/libprocessgroup/cgrouprc/include/android/cgrouprc.h index 100d60ea9..e704a36aa 100644 --- a/libprocessgroup/cgrouprc/include/android/cgrouprc.h +++ b/libprocessgroup/cgrouprc/include/android/cgrouprc.h @@ -16,6 +16,7 @@ #pragma once +#include #include __BEGIN_DECLS