[hackers] [ubase] Inlcude <string.h> as well for strcmp() || sin

From: <git_AT_suckless.org>
Date: Mon, 14 Apr 2014 13:49:48 +0200

commit e43a102f1139a7c0f0dfa5e3bef4881bc7e40431
Author: sin <sin_AT_2f30.org>
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
_AT_@ -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
Received on Mon Apr 14 2014 - 13:49:48 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 14 2014 - 14:00:22 CEST