summaryrefslogtreecommitdiffstats
path: root/mount/pivot_root.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:12 +0100
committerKarel Zak2006-12-07 00:26:12 +0100
commitdf1dddf9ffcfc1e291de809c0e8b9060bfea02ee (patch)
tree03b712bddec33d05754bf59d31a75d7e2022761e /mount/pivot_root.c
parentImported from util-linux-2.11y tarball. (diff)
downloadkernel-qcow2-util-linux-df1dddf9ffcfc1e291de809c0e8b9060bfea02ee.tar.gz
kernel-qcow2-util-linux-df1dddf9ffcfc1e291de809c0e8b9060bfea02ee.tar.xz
kernel-qcow2-util-linux-df1dddf9ffcfc1e291de809c0e8b9060bfea02ee.zip
Imported from util-linux-2.12 tarball.
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>