diff options
author | Jim Meyering <jim@meyering.net> | 1993-10-30 15:57:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-10-30 15:57:46 +0000 |
commit | c7ebcc8326dfe8b9455ec8995a38b73826538928 (patch) | |
tree | 2cb0b23f3bfd37e82c4f884c064f558c801c30c3 /src/csplit.c | |
parent | 01e9d7611ab5840e415f3c6c2e29b0951238ae58 (diff) | |
download | coreutils-c7ebcc8326dfe8b9455ec8995a38b73826538928.tar.xz |
merge with 1.8.1a
Diffstat (limited to 'src/csplit.c')
-rw-r--r-- | src/csplit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/csplit.c b/src/csplit.c index aad7f3171..f27290b77 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -33,7 +33,9 @@ #include <getopt.h> #include <sys/types.h> #include <signal.h> +#ifdef HAVE_LIMITS_H #include <limits.h> +#endif /* HAVE_LIMITS_H */ #include "regex.h" #include "system.h" #include "version.h" @@ -49,6 +51,10 @@ char *realloc (); #define MAX(a,b) (((a) > (b)) ? (a) : (b)) #endif +#ifndef INT_MAX +#define INT_MAX (~(1 << (sizeof (int) * 8 - 1))) +#endif /* INT_MAX */ + void error (); |