summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-12-06 23:39:26 +0000
committerJim Meyering <jim@meyering.net>1995-12-06 23:39:26 +0000
commit1f88c647cd9383334a1bb9f175491669e87b16a4 (patch)
tree9e848eabc6fc8afe98a2fc432f804246eb2f6800 /src
parent08b596b409bf395b4bf2d3b0a876065056c95549 (diff)
downloadcoreutils-1f88c647cd9383334a1bb9f175491669e87b16a4.tar.xz
[!WITH_REGEX]: Include rx.h.
Diffstat (limited to 'src')
-rw-r--r--src/csplit.c6
-rw-r--r--src/nl.c6
-rw-r--r--src/tac.c6
3 files changed, 15 insertions, 3 deletions
diff --git a/src/csplit.c b/src/csplit.c
index fee898a6e..f3a879a8e 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -36,7 +36,11 @@
# 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"
diff --git a/src/nl.c b/src/nl.c
index c596ce7d1..866729a87 100644
--- a/src/nl.c
+++ b/src/nl.c
@@ -23,7 +23,11 @@
#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"
diff --git a/src/tac.c b/src/tac.c
index bcf352e7c..d96e17796 100644
--- 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"