diff options
-rw-r--r-- | text-utils/more.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <errno.h> #include <fcntl.h> #include <termios.h> +#include <limits.h> #include <setjmp.h> #include <sys/ioctl.h> #include <sys/stat.h> @@ -62,9 +63,13 @@ #include "xalloc.h" #include "widechar.h" +#if __sun__ +#include <re_comp.h> +#else #define _REGEX_RE_COMP #include <regex.h> #undef _REGEX_RE_COMP +#endif #ifndef XTABS #define XTABS TAB3 |