aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-21 21:49:05 -0600
committerElliott Hughes <enh@google.com>2014-11-21 21:49:05 -0600
commit6a29bb1ebe62ada2dad5fb50f84f23a497cd677a (patch)
treeaa85037839d28c40ea459d96edd3feb0b3e9de76 /toys/other
parent3280d995b3447b7a94af006ac26d7d3656aee961 (diff)
downloadtoybox-6a29bb1ebe62ada2dad5fb50f84f23a497cd677a.tar.gz
A patch against your current ToT that builds in AOSP master.
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/pivot_root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/other/pivot_root.c b/toys/other/pivot_root.c
index 3e4beacb..9a1f56ca 100644
--- a/toys/other/pivot_root.c
+++ b/toys/other/pivot_root.c
@@ -22,7 +22,8 @@ config PIVOT_ROOT
#define FOR_pivot_root
#include "toys.h"
-#include <linux/unistd.h>
+#include <sys/syscall.h>
+#include <unistd.h>
void pivot_root_main(void)
{