diff options
Diffstat (limited to 'libbb/sysconf.c')
-rw-r--r-- | libbb/sysconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/sysconf.c b/libbb/sysconf.c index 4dbffbebd..031901980 100644 --- a/libbb/sysconf.c +++ b/libbb/sysconf.c | |||
@@ -8,7 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | 10 | ||
11 | #if defined _SC_ARG_MAX | 11 | #if !defined(ARG_MAX) && defined(_SC_ARG_MAX) |
12 | unsigned FAST_FUNC bb_arg_max(void) | 12 | unsigned FAST_FUNC bb_arg_max(void) |
13 | { | 13 | { |
14 | return sysconf(_SC_ARG_MAX); | 14 | return sysconf(_SC_ARG_MAX); |