aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-10-05 14:41:36 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-10-05 14:41:36 +0200
commit416899fca6c8b7a09ec301e1a961459bb3b6c139 (patch)
tree53d035409db8c116ec47a25158e84ea1e65abcc6 /libbb
parentebe6d9d8758d36e03cf39b6587597c67ab778436 (diff)
downloadbusybox-416899fca6c8b7a09ec301e1a961459bb3b6c139.tar.gz
do not include <sys/stat.h> just before "libbb.h", it's there already
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/isdirectory.c1
-rw-r--r--libbb/mode_string.c6
2 files changed, 0 insertions, 7 deletions
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 ) \