aboutsummaryrefslogtreecommitdiff
path: root/toys/other/pivot_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/pivot_root.c')
-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)
{