diff options
-rw-r--r-- | shell/ash.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 9d55f892e..ab935e72a 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -43,7 +43,9 @@ | |||
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | #include "busybox.h" /* for applet_names */ | 45 | #include "busybox.h" /* for applet_names */ |
46 | #ifndef __MINGW32__ | ||
46 | #include <paths.h> | 47 | #include <paths.h> |
48 | #endif | ||
47 | #include <setjmp.h> | 49 | #include <setjmp.h> |
48 | #include <fnmatch.h> | 50 | #include <fnmatch.h> |
49 | 51 | ||
@@ -12465,6 +12467,8 @@ unsetcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
12465 | 12467 | ||
12466 | /* setmode.c */ | 12468 | /* setmode.c */ |
12467 | 12469 | ||
12470 | #if !ENABLE_PLATFORM_MINGW32 | ||
12471 | |||
12468 | #include <sys/times.h> | 12472 | #include <sys/times.h> |
12469 | 12473 | ||
12470 | static const unsigned char timescmd_str[] ALIGN1 = { | 12474 | static const unsigned char timescmd_str[] ALIGN1 = { |
@@ -12497,6 +12501,13 @@ timescmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
12497 | 12501 | ||
12498 | return 0; | 12502 | return 0; |
12499 | } | 12503 | } |
12504 | #else | ||
12505 | static int FAST_FUNC | ||
12506 | timescmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | ||
12507 | { | ||
12508 | return 0; | ||
12509 | } | ||
12510 | #endif | ||
12500 | 12511 | ||
12501 | #if ENABLE_SH_MATH_SUPPORT | 12512 | #if ENABLE_SH_MATH_SUPPORT |
12502 | /* | 12513 | /* |