From 2059328e2f880d6b55d2df0a767fb798dc19206c Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 22 Jan 2012 01:22:24 +0300 Subject: re_comp and re_exec are in re_comp.h on Illumos --- text-utils/more.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/text-utils/more.c b/text-utils/more.c index 929e4a0b..afa83119 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -51,6 +51,7 @@ #include #include #include +#include #include #include #include @@ -62,9 +63,13 @@ #include "xalloc.h" #include "widechar.h" +#if __sun__ +#include +#else #define _REGEX_RE_COMP #include #undef _REGEX_RE_COMP +#endif #ifndef XTABS #define XTABS TAB3 -- cgit v1.2.3