From 416899fca6c8b7a09ec301e1a961459bb3b6c139 Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Thu, 5 Oct 2017 14:41:36 +0200
Subject: do not include <sys/stat.h> just before "libbb.h", it's there already

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
 libbb/isdirectory.c | 1 -
 libbb/mode_string.c | 6 ------
 2 files changed, 7 deletions(-)

(limited to 'libbb')

diff --git a/libbb/isdirectory.c b/libbb/isdirectory.c
index 462aa0067..6225a34b2 100644
--- a/libbb/isdirectory.c
+++ b/libbb/isdirectory.c
@@ -7,7 +7,6 @@
  *
  * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
-#include <sys/stat.h>
 #include "libbb.h"
 
 /*
diff --git a/libbb/mode_string.c b/libbb/mode_string.c
index 280e6d291..5ffd5683e 100644
--- a/libbb/mode_string.c
+++ b/libbb/mode_string.c
@@ -6,13 +6,7 @@
  *
  * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
-
-/* Aug 13, 2003
- * Fix a bug reported by junkio@cox.net involving the mode_chars index.
- */
 #include <assert.h>
-#include <sys/stat.h>
-
 #include "libbb.h"
 
 #if ( S_ISUID != 04000 ) || ( S_ISGID != 02000 ) || ( S_ISVTX != 01000 ) \
-- 
cgit v1.2.3