From 2f4ccc04ae1b0e58efb0515014070d406c5c3645 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Sun, 25 Nov 2001 22:06:54 +0000 Subject: Added an additional test to make sure the header is actually present on the system. --- src/regexp.h | 6 ++++-- 1 file 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 +# ifdef HAVE_REGEX_H +# include +# endif #endif #endif -- cgit v1.2.3