summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-01-05 02:44:42 +0000
committerJim Meyering <jim@meyering.net>1996-01-05 02:44:42 +0000
commitaff66fa170b9fadc2976ecb75072f745da0c40b3 (patch)
tree6abf056511ee709dfd9b3e553d315aca2d94ad54 /src
parent92e8245d901bcc5b212c3f12386ec362cdfe4971 (diff)
downloadcoreutils-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nl.c b/src/nl.c
index 5712e4a89..55a3a077a 100644
--- a/src/nl.c
+++ b/src/nl.c
@@ -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