diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-10-05 14:41:36 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-10-05 14:41:36 +0200 |
commit | 416899fca6c8b7a09ec301e1a961459bb3b6c139 (patch) | |
tree | 53d035409db8c116ec47a25158e84ea1e65abcc6 /libbb | |
parent | ebe6d9d8758d36e03cf39b6587597c67ab778436 (diff) | |
download | busybox-w32-416899fca6c8b7a09ec301e1a961459bb3b6c139.tar.gz busybox-w32-416899fca6c8b7a09ec301e1a961459bb3b6c139.tar.bz2 busybox-w32-416899fca6c8b7a09ec301e1a961459bb3b6c139.zip |
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.c | 1 | ||||
-rw-r--r-- | libbb/mode_string.c | 6 |
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 @@ | |||
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | #include <sys/stat.h> | ||
11 | #include "libbb.h" | 10 | #include "libbb.h" |
12 | 11 | ||
13 | /* | 12 | /* |
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 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | |||
10 | /* Aug 13, 2003 | ||
11 | * Fix a bug reported by junkio@cox.net involving the mode_chars index. | ||
12 | */ | ||
13 | #include <assert.h> | 9 | #include <assert.h> |
14 | #include <sys/stat.h> | ||
15 | |||
16 | #include "libbb.h" | 10 | #include "libbb.h" |
17 | 11 | ||
18 | #if ( S_ISUID != 04000 ) || ( S_ISGID != 02000 ) || ( S_ISVTX != 01000 ) \ | 12 | #if ( S_ISUID != 04000 ) || ( S_ISGID != 02000 ) || ( S_ISVTX != 01000 ) \ |