From c214eb06542d43676f63c2d13412e5ea944a72d4 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Thu, 23 Jan 2025 01:49:00 +0800 Subject: installd: fix build with ToT LLVM Fixes: frameworks/native/cmds/installd/otapreopt_chroot.cpp:176:17: error: use of undeclared identifier 'CLONE_NEWNS' 176 | if (unshare(CLONE_NEWNS) != 0) { | ^ Test: presubmit Change-Id: I66251394098c4d70ce5cb09082fa707a7f8539c5 --- cmds/installd/otapreopt_chroot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cmds/installd/otapreopt_chroot.cpp b/cmds/installd/otapreopt_chroot.cpp index c86adef118..c818e0d7ba 100644 --- a/cmds/installd/otapreopt_chroot.cpp +++ b/cmds/installd/otapreopt_chroot.cpp @@ -16,6 +16,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3-59-g8ed1b