summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-22 12:14:28 -0800
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-01-22 12:14:28 -0800
commitcdf3f241d37fa3c6bdfc41eb463eb39099bcdc4f (patch)
tree93746ca0f45ff59d7b6696362947da41e1c995d6
parente7a20280e042d0a2faceeaeb28b2fded4f164a00 (diff)
parentf4d3fb18adc5cabd74951d1a83d1aab0cbe7dcb8 (diff)
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>
-rw-r--r--cmds/installd/otapreopt_chroot.cpp1
1 files changed, 1 insertions, 0 deletions
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 <fcntl.h>
#include <linux/unistd.h>
+#include <sched.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/wait.h>