diff options
Diffstat (limited to 'libbb/wfopen_input.c')
-rw-r--r-- | libbb/wfopen_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/wfopen_input.c b/libbb/wfopen_input.c index d8b1c4a36..872464248 100644 --- a/libbb/wfopen_input.c +++ b/libbb/wfopen_input.c | |||
@@ -6,14 +6,13 @@ | |||
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 applets need to open a file for reading, where the filename | 11 | /* A number of applets need to open a file for reading, where the filename |
11 | * is a command line arg. Since often that arg is '-' (meaning stdin), | 12 | * is a command line arg. Since often that arg is '-' (meaning stdin), |
12 | * we avoid testing everywhere by consolidating things in this routine. | 13 | * we avoid testing everywhere by consolidating things in this routine. |
13 | */ | 14 | */ |
14 | 15 | ||
15 | #include "libbb.h" | ||
16 | |||
17 | FILE* FAST_FUNC fopen_or_warn_stdin(const char *filename) | 16 | FILE* FAST_FUNC fopen_or_warn_stdin(const char *filename) |
18 | { | 17 | { |
19 | FILE *fp = stdin; | 18 | FILE *fp = stdin; |