summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regexp.h6
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