Whamcloud - gitweb
LU-6533 utils: Include unistd.h in wirecheck 26/14626/3
authorHenri Doreau <henri.doreau@cea.fr>
Tue, 28 Apr 2015 09:08:55 +0000 (11:08 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 8 May 2015 15:08:26 +0000 (15:08 +0000)
Include unistd.h which is needed due to the use of
pipe, fork, dup2 and close.

Remove libcfs.h that became unneeded.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Change-Id: I123e0051b6988445e2e56c17ad582ece6758e3a2
Reviewed-on: http://review.whamcloud.com/14626
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

index df777b9..b821dbd 100644 (file)
@@ -35,9 +35,9 @@
 #include <stdio.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-#include <libcfs/libcfs.h>
 #include <lustre/lustre_idl.h>
 #include <lustre/lustre_lfsck_user.h>
 #include <lustre_disk.h>