]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[!WITH_REGEX]: Include rx.h.
authorJim Meyering <jim@meyering.net>
Wed, 6 Dec 1995 23:39:26 +0000 (23:39 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 6 Dec 1995 23:39:26 +0000 (23:39 +0000)
src/csplit.c
src/nl.c
src/tac.c

index fee898a6e524b37c449a829a5a9f27df1682023e..f3a879a8e517d46af3cf021dd6859ca90a057998 100644 (file)
 # define INT_MAX ((int) (UINT_MAX >> 1))
 #endif
 
-#include "regex.h"
+#if WITH_REGEX
+# include <regex.h>
+#else
+# include <rx.h>
+#endif
 #include "system.h"
 #include "version.h"
 #include "error.h"
index c596ce7d1f814c1748e9e013d194323adb99b601..866729a8786d094fd778e146a56495ec023922d6 100644 (file)
--- a/src/nl.c
+++ b/src/nl.c
 #include <stdio.h>
 #include <sys/types.h>
 #include <getopt.h>
-#include <regex.h>
+#if WITH_REGEX
+# include <regex.h>
+#else
+# include <rx.h>
+#endif
 #include "linebuffer.h"
 #include "system.h"
 #include "version.h"
index bcf352e7c7c3356e36a3c0f35bc114e63e9bb2db..d96e1779643f4b21f4755092eacf2407f562e3f1 100644 (file)
--- a/src/tac.c
+++ b/src/tac.c
@@ -41,7 +41,11 @@ tac -r -s '.\|
 #include <getopt.h>
 #include <sys/types.h>
 #include <signal.h>
-#include <regex.h>
+#if WITH_REGEX
+# include <regex.h>
+#else
+# include <rx.h>
+#endif
 #include "system.h"
 #include "version.h"
 #include "error.h"