diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-19 17:11:43 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-19 17:11:43 +0000 |
commit | 401d58f3612fa030f309d01df9815a2fc1d3c6de (patch) | |
tree | bcbf4006b26460979e37290756e4426535a0b6d9 /compat.c | |
parent | cf0809d6444bcc0030c9cb82ebc592a261023fe4 (diff) |
- (bal) Slight auth2-pam.c clean up.
- (bal) Includes a fake-regexp.h to be only used if regcomp() is found,
but no 'regexp.h' found (SCO OpenServer 3 lacks the header).
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -32,7 +32,15 @@ RCSID("$OpenBSD: compat.c,v 1.33 2001/01/08 22:29:05 markus Exp $"); | |||
32 | #ifdef HAVE_LIBPCRE | 32 | #ifdef HAVE_LIBPCRE |
33 | # include <pcreposix.h> | 33 | # include <pcreposix.h> |
34 | #else /* Use native regex libraries */ | 34 | #else /* Use native regex libraries */ |
35 | # include <regex.h> | 35 | # ifdef HAVE_REGEX_H |
36 | # include <regex.h> | ||
37 | # else | ||
38 | # ifdef HAVE_REGCOMP | ||
39 | # include "fake-regex.h" | ||
40 | # else | ||
41 | # error "No regular libraries detected. See INSTALL file." | ||
42 | # endif | ||
43 | # endif | ||
36 | #endif /* HAVE_LIBPCRE */ | 44 | #endif /* HAVE_LIBPCRE */ |
37 | 45 | ||
38 | int compat13 = 0; | 46 | int compat13 = 0; |