aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 74439291c..9815a6d9e 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>