commit e43a102f1139a7c0f0dfa5e3bef4881bc7e40431
Author: sin <[email protected]>
Date: Mon Apr 14 12:48:54 2014 +0100
Inlcude <string.h> as well for strcmp()
Sort include files.
diff --git a/switch_root.c b/switch_root.c
index cac24d6..e151a50 100644
--- a/switch_root.c
+++ b/switch_root.c
@@ -1,14 +1,15 @@
/* See LICENSE file for copyright and license details. */
+#include <dirent.h>
+#include <fcntl.h>
+#include <limits.h>
+#include <linux/magic.h>
#include <stdio.h>
#include <stdlib.h>
-#include <linux/magic.h>
-#include <limits.h>
-#include <unistd.h>
+#include <string.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/vfs.h>
-#include <fcntl.h>
-#include <dirent.h>
+#include <unistd.h>
#include "util.h"
static void