* dump.c: Include regex.h if exists and if HAVE_REGCOMP
authorEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 18:28:55 +0000 (18:28 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 18:28:55 +0000 (18:28 +0000)
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
src/kadmin/dbutil/dump.c

index c620f20ae5cefe3ed2bd32ed132e2968ee23811a..d8b1e59bb997540f0474d018c9d9d9ea008f8de5 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-18  Ezra Peisach  <epeisach@mit.edu>
+
+       * 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  <epeisach@mit.edu>
 
        * dumpv4.c: Pass C_Block * to des_read_password() as per prototype.
index 3ecb1111fedd9403a24a8b8be1437e1e0a0c5135..3bfc4ebafe255b18c63919430b624d40b8b0cf35 100644 (file)
@@ -33,7 +33,7 @@
 #include <kadm5/adb.h>
 #include <com_err.h>
 #include "kdb5_util.h"
-#if    HAVE_REGEX_H
+#if defined(HAVE_REGEX_H) && defined(HAVE_REGCOMP)
 #include <regex.h>
 #endif /* HAVE_REGEX_H */