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
diff --git a/cmds/installd/otapreopt_chroot.cpp b/cmds/installd/otapreopt_chroot.cpp
index c86adef..c818e0d 100644
--- a/cmds/installd/otapreopt_chroot.cpp
+++ b/cmds/installd/otapreopt_chroot.cpp
@@ -16,6 +16,7 @@
#include <fcntl.h>
#include <linux/unistd.h>
+#include <sched.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/wait.h>