From e022557558b4692c225b6f9ac2de45e3739409fb Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 18 Jun 2001 18:28:55 +0000 Subject: [PATCH] * dump.c: Include regex.h if exists and if HAVE_REGCOMP defined. Preior to this, regex.h was never included. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13367 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/dbutil/ChangeLog | 5 +++++ src/kadmin/dbutil/dump.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index c620f20ae..d8b1e59bb 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,8 @@ +2001-06-18 Ezra Peisach + + * dump.c: Include regex.h if exists and if HAVE_REGCOMP + defined. Preior to this, regex.h was never included. + 2001-06-08 Ezra Peisach * dumpv4.c: Pass C_Block * to des_read_password() as per prototype. diff --git a/src/kadmin/dbutil/dump.c b/src/kadmin/dbutil/dump.c index 3ecb1111f..3bfc4ebaf 100644 --- a/src/kadmin/dbutil/dump.c +++ b/src/kadmin/dbutil/dump.c @@ -33,7 +33,7 @@ #include #include #include "kdb5_util.h" -#if HAVE_REGEX_H +#if defined(HAVE_REGEX_H) && defined(HAVE_REGCOMP) #include #endif /* HAVE_REGEX_H */ -- 2.26.2