diff options
Diffstat (limited to 'libbb/make_directory.c')
-rw-r--r-- | libbb/make_directory.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libbb/make_directory.c b/libbb/make_directory.c index fbec4e20e..d540ad133 100644 --- a/libbb/make_directory.c +++ b/libbb/make_directory.c | |||
@@ -22,11 +22,10 @@ | |||
22 | * val. Otherwise, pass -1 to get default permissions. | 22 | * val. Otherwise, pass -1 to get default permissions. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include <errno.h> | ||
26 | #include <unistd.h> | ||
27 | #include <sys/stat.h> | ||
28 | #include "libbb.h" | 25 | #include "libbb.h" |
29 | 26 | ||
27 | /* This function is used from NOFORK applets. It must not allocate anything */ | ||
28 | |||
30 | int bb_make_directory (char *path, long mode, int flags) | 29 | int bb_make_directory (char *path, long mode, int flags) |
31 | { | 30 | { |
32 | mode_t mask; | 31 | mode_t mask; |