Skip to content

Commit c214eb0

Browse files
committed
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
1 parent 17e176a commit c214eb0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmds/installd/otapreopt_chroot.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include <fcntl.h>
1818
#include <linux/unistd.h>
19+
#include <sched.h>
1920
#include <sys/mount.h>
2021
#include <sys/stat.h>
2122
#include <sys/wait.h>

0 commit comments

Comments
 (0)