]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include rx.h after limit.h to avoid warning about
authorJim Meyering <jim@meyering.net>
Fri, 5 Jan 1996 02:44:42 +0000 (02:44 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 5 Jan 1996 02:44:42 +0000 (02:44 +0000)
redeclaration of RE_DUP_MAX in limit.h.  rx.h protects its
definition.  From Kaveh Ghazi.

src/nl.c

index 5712e4a89592d54bbe070943406ee1e4eba3e850..55a3a077a8c975443f28ead1c44b38932ae9b5f5 100644 (file)
--- a/src/nl.c
+++ b/src/nl.c
 #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