diff options
Diffstat (limited to 'coreutils/mkdir.c')
-rw-r--r-- | coreutils/mkdir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c index 690e4ab40..5a6c9d077 100644 --- a/coreutils/mkdir.c +++ b/coreutils/mkdir.c | |||
@@ -19,19 +19,19 @@ | |||
19 | /* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support. | 19 | /* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <stdlib.h> | ||
23 | #include <unistd.h> | ||
24 | #include <getopt.h> /* struct option */ | 22 | #include <getopt.h> /* struct option */ |
25 | #include "busybox.h" | 23 | #include "busybox.h" |
26 | 24 | ||
25 | /* This is a NOFORK applet. Be very careful! */ | ||
26 | |||
27 | #if ENABLE_FEATURE_MKDIR_LONG_OPTIONS | 27 | #if ENABLE_FEATURE_MKDIR_LONG_OPTIONS |
28 | static const struct option mkdir_long_options[] = { | 28 | static const struct option mkdir_long_options[] = { |
29 | { "mode", 1, NULL, 'm' }, | 29 | { "mode" , 1, NULL, 'm' }, |
30 | { "parents", 0, NULL, 'p' }, | 30 | { "parents", 0, NULL, 'p' }, |
31 | #if ENABLE_SELINUX | 31 | #if ENABLE_SELINUX |
32 | { "context", 1, NULL, 'Z' }, | 32 | { "context", 1, NULL, 'Z' }, |
33 | #endif | 33 | #endif |
34 | { 0, 0, 0, 0 } | 34 | { NULL, 0, NULL, 0 } |
35 | }; | 35 | }; |
36 | #endif | 36 | #endif |
37 | 37 | ||