diff options
author | Richard Basch <probe@mit.edu> | 1993-11-19 10:05:11 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-11-19 10:05:11 +0000 |
commit | e740a1d93355d9a88e43b1e146adda3c20fd1fa8 (patch) | |
tree | 5ab307e989b2dc9a523e80cc57229a89dc008ac9 | |
parent | e7c7cc8b8e5770210032e8e4f315ebcc54451e66 (diff) |
Solaris needs the compatibility too (and it also requires -lgen)
-rw-r--r-- | zwgc/regexp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zwgc/regexp.c b/zwgc/regexp.c index 26ce0e9..3fc3f0c 100644 --- a/zwgc/regexp.c +++ b/zwgc/regexp.c @@ -19,6 +19,10 @@ static char rcsid_regexp_c[] = "$Id$"; #include <stdio.h> #include "regexp.h" +#ifdef SOLARIS +#include <libgen.h> +#endif + extern char *re_comp(); extern int re_exec(); @@ -47,7 +51,7 @@ int ed_regexp_match_p(test_string, pattern) * It is a wrapper around the C library regexp functions. */ -#ifdef _AUX_SOURCE +#if defined(_AUX_SOURCE) || defined(SOLARIS) static char *re; |