diff options
Diffstat (limited to 'libbb/fclose_nonstdin.c')
-rw-r--r-- | libbb/fclose_nonstdin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libbb/fclose_nonstdin.c b/libbb/fclose_nonstdin.c index 1b1441347..7d5331063 100644 --- a/libbb/fclose_nonstdin.c +++ b/libbb/fclose_nonstdin.c | |||
@@ -6,14 +6,12 @@ | |||
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 | #include "libbb.h" | ||
9 | 10 | ||
10 | /* A number of standard utilities can accept multiple command line args | 11 | /* A number of standard utilities can accept multiple command line args |
11 | * of '-' for stdin, according to SUSv3. So we encapsulate the check | 12 | * of '-' for stdin, according to SUSv3. So we encapsulate the check |
12 | * here to save a little space. | 13 | * here to save a little space. |
13 | */ | 14 | */ |
14 | |||
15 | #include "libbb.h" | ||
16 | |||
17 | int FAST_FUNC fclose_if_not_stdin(FILE *f) | 15 | int FAST_FUNC fclose_if_not_stdin(FILE *f) |
18 | { | 16 | { |
19 | /* Some more paranoid applets want ferror() check too */ | 17 | /* Some more paranoid applets want ferror() check too */ |