summaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
diff options
context:
space:
mode:
authorRob Landley2006-05-10 17:41:21 +0000
committerRob Landley2006-05-10 17:41:21 +0000
commit094b9f7e1d3638006273adfeba5ceeb65cb7aeac (patch)
tree38a68c4835fe0c708036689e2c418f4fe60cf9a8 /util-linux/switch_root.c
parent06b00e8ba78376e8e2c17b3b8507ade85421fe4b (diff)
downloadbusybox-094b9f7e1d3638006273adfeba5ceeb65cb7aeac.zip
busybox-094b9f7e1d3638006273adfeba5ceeb65cb7aeac.tar.gz
Shut up the warning "implicit declaration of strlen".
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r--util-linux/switch_root.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index 7443929..9815a6d 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -9,6 +9,7 @@
#include <dirent.h>
#include <fcntl.h>
#include <stdio.h>
+#include <string.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/types.h>