diff options
author | Jim Meyering <jim@meyering.net> | 1996-01-05 02:44:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-01-05 02:44:42 +0000 |
commit | aff66fa170b9fadc2976ecb75072f745da0c40b3 (patch) | |
tree | 6abf056511ee709dfd9b3e553d315aca2d94ad54 /src | |
parent | 92e8245d901bcc5b212c3f12386ec362cdfe4971 (diff) | |
download | coreutils-aff66fa170b9fadc2976ecb75072f745da0c40b3.tar.xz |
Include rx.h after limit.h to avoid warning about
redeclaration of RE_DUP_MAX in limit.h. rx.h protects its
definition. From Kaveh Ghazi.
Diffstat (limited to 'src')
-rw-r--r-- | src/nl.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -24,16 +24,16 @@ #include <sys/types.h> #include <getopt.h> +#if HAVE_LIMITS_H +# include <limits.h> +#endif + #if WITH_REGEX # include <regex.h> #else # include <rx.h> #endif -#if HAVE_LIMITS_H -# include <limits.h> -#endif - #ifndef UINT_MAX # define UINT_MAX ((unsigned int) ~(unsigned int) 0) #endif |