summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-12-19 14:38:38 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-12-19 14:38:38 +0000
commit922e1c28fd6e43dce9a91523742563756339413c (patch)
treeaca1558425f154a0d15721cdecff657005f82e56
parent3cb1b51eaf0fde876dcdc9e4e14a1458f5714eb6 (diff)
#include <time.h> in pcretest.c (a PCRE bug, fixed in later PCRE
releases).
-rw-r--r--doc/doc-txt/ChangeLog5
-rw-r--r--src/src/pcre/pcretest.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog
index cc55146b2..c9b69ab37 100644
--- a/doc/doc-txt/ChangeLog
+++ b/doc/doc-txt/ChangeLog
@@ -1,4 +1,4 @@
-$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.444 2006/12/12 15:47:39 ph10 Exp $
+$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.445 2006/12/19 14:38:38 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -351,6 +351,9 @@ PH/51 Error processing for expansion failure of helo_data from an smtp
PH/52 Applied John Jetmore's patch to allow tls-on-connect and STARTTLS to be
tested/used via the -bh/-bhc/-bs options.
+PH/53 Added missing "#include <time.h>" to pcre/pcretest.c (this was a PCRE
+ bug, fixed in subsequent PCRE releases).
+
Exim version 4.63
-----------------
diff --git a/src/src/pcre/pcretest.c b/src/src/pcre/pcretest.c
index fda541a0c..4b7664665 100644
--- a/src/src/pcre/pcretest.c
+++ b/src/src/pcre/pcretest.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/pcre/pcretest.c,v 1.4 2006/11/07 16:50:36 ph10 Exp $ */
+/* $Cambridge: exim/src/src/pcre/pcretest.c,v 1.5 2006/12/19 14:38:38 ph10 Exp $ */
/*************************************************
* PCRE testing program *
@@ -47,6 +47,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <errno.h>
#ifndef _WIN32
+#include <sys/time.h>
#include <sys/resource.h>
#endif