[poppler] utils/pdfsig.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jan 20 22:23:21 UTC 2022
utils/pdfsig.cc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 14baf9772df781be96d04c40fe1c56615b301fe3
Author: Albert Astals Cid <aacid at kde.org>
Date: Thu Jan 20 23:17:00 2022 +0100
pdfsig: Fix compile with MSVC
diff --git a/utils/pdfsig.cc b/utils/pdfsig.cc
index fd96eaaa..7908ac05 100644
--- a/utils/pdfsig.cc
+++ b/utils/pdfsig.cc
@@ -43,7 +43,9 @@
#include "Win32Console.h"
#include "numberofcharacters.h"
#include "UTF.h"
-#include <libgen.h>
+#if __has_include(<libgen.h>)
+# include <libgen.h>
+#endif
static const char *getReadableSigState(SignatureValidationStatus sig_vs)
{
More information about the poppler
mailing list