ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit e43a102f1139a7c0f0dfa5e3bef4881bc7e40431
parent bed72cf4090767585724ef77fc7efa978c88bd6d
Author: sin <sin@2f30.org>
Date:   Mon, 14 Apr 2014 12:48:54 +0100

Inlcude <string.h> as well for strcmp()

Sort include files.

Diffstat:
Mswitch_root.c | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git 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