From: Jim Meyering Date: Fri, 5 Jan 1996 02:44:42 +0000 (+0000) Subject: Include rx.h after limit.h to avoid warning about X-Git-Tag: TEXTUTILS-1_13k~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aff66fa170b9fadc2976ecb75072f745da0c40b3;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/src/nl.c b/src/nl.c index 5712e4a895..55a3a077a8 100644 --- a/src/nl.c +++ b/src/nl.c @@ -24,16 +24,16 @@ #include #include +#if HAVE_LIMITS_H +# include +#endif + #if WITH_REGEX # include #else # include #endif -#if HAVE_LIMITS_H -# include -#endif - #ifndef UINT_MAX # define UINT_MAX ((unsigned int) ~(unsigned int) 0) #endif