Merge "installd: fix build with ToT LLVM" into main am: d2e8444c88 am: f4d3fb18ad

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3460493

Change-Id: I700dc80b92dd3d5e76738549fc7765a8ae6885c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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>