summaryrefslogtreecommitdiffstats
path: root/mount/pivot_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount/pivot_root.c')
-rw-r--r--mount/pivot_root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/pivot_root.c b/mount/pivot_root.c
index faa0e4d50..a844b480e 100644
--- a/mount/pivot_root.c
+++ b/mount/pivot_root.c
@@ -2,8 +2,8 @@
/* Written 2000 by Werner Almesberger */
-
#include <stdio.h>
+#include <errno.h> /* needed for <linux/unistd.h> below */
#ifdef __ia64__
# include <sys/syscall.h>