diff options
-rw-r--r-- | src/csplit.c | 6 | ||||
-rw-r--r-- | src/nl.c | 6 | ||||
-rw-r--r-- | src/tac.c | 6 |
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" @@ -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" @@ -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" |