[poppler] cpp/poppler-global.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu May 5 21:16:43 UTC 2022


 cpp/poppler-global.h |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5d543e801d304e4cdbe12506f62c340d509f12f3
Author: Tobias C. Berner <tcberner at gmail.com>
Date:   Thu May 5 04:59:42 2022 +0000

    Fix c_time usage
    
    In 2656d986d01da5aea4f51c75e4deee569ca88064 the time type was switched
    to time_t, without including the necessary ctime header.

diff --git a/cpp/poppler-global.h b/cpp/poppler-global.h
index 2a63e88c..fe5b6785 100644
--- a/cpp/poppler-global.h
+++ b/cpp/poppler-global.h
@@ -25,6 +25,7 @@
 
 #include "poppler_cpp_export.h"
 
+#include <ctime>
 #include <iosfwd>
 #include <string>
 #include <vector>


More information about the poppler mailing list