diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-11-25 22:06:54 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-11-25 22:06:54 +0000 |
commit | 2f4ccc04ae1b0e58efb0515014070d406c5c3645 (patch) | |
tree | affe45bb30ad360f626be2447af1bfc04d3c79af /src | |
parent | 5e17d0736e2dcfee570bdc0f359cd116d2b6ee48 (diff) | |
download | tinyproxy-2f4ccc04ae1b0e58efb0515014070d406c5c3645.tar.gz tinyproxy-2f4ccc04ae1b0e58efb0515014070d406c5c3645.zip |
Added an additional test to make sure the <regex.h> header is actually
present on the system.
Diffstat (limited to '')
-rw-r--r-- | src/regexp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/regexp.h b/src/regexp.h index fd119de..ea17b85 100644 --- a/src/regexp.h +++ b/src/regexp.h @@ -1,4 +1,4 @@ -/* $Id: regexp.h,v 1.2 2000-09-11 23:50:07 rjkaes Exp $ +/* $Id: regexp.h,v 1.3 2001-11-25 22:06:54 rjkaes Exp $ * * We need this little header to help distinguish whether to use the REGEX * library installed in the system, or to include our own version (the GNU @@ -27,7 +27,9 @@ #ifdef USE_GNU_REGEX # include "gnuregex.h" #else -# include <regex.h> +# ifdef HAVE_REGEX_H +# include <regex.h> +# endif #endif #endif |