summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2015-05-24 21:34:56 +0200
committerJay Berkenbilt <ejb@ql.org>2015-05-24 22:26:05 +0200
commit857bb208d338e117f2a864407e34de76da360d8a (patch)
treed435edd481970b3e52b423481e5c1bc518c7286e
parent5c9c5d537b8c2c954ec7ad4b7dc7d7a02c854a3a (diff)
downloadqpdf-857bb208d338e117f2a864407e34de76da360d8a.tar.zst
include time.h in QUtil.hh
QUtil.hh needs time.h to get time_t on some platforms. Thanks Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--ChangeLog4
-rw-r--r--include/qpdf/QUtil.hh1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 798addd4..99c1690f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-24 Jay Berkenbilt <ejb@ql.org>
+
+ * Include time.h in QUtil.hh for time_t
+
2015-02-21 Jay Berkenbilt <ejb@ql.org>
* Detect loops in Pages structure. Thanks to Gynvael Coldwind and
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh
index 5c2e5488..7f912e2d 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -14,6 +14,7 @@
#include <list>
#include <stdexcept>
#include <stdio.h>
+#include <time.h>
class RandomDataProvider;