poppler/0001-workaround-a-bug-in-nss-header.patch
2017-09-08 10:10:31 +02:00

51 lines
1.2 KiB
Diff

From 004cb512cdd1349a247955ecbed7814ea60e909f Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Mon, 4 Sep 2017 14:59:01 +0200
Subject: [PATCH] workaround a bug in nss header
---
poppler/SignatureInfo.cc | 1 +
qt5/src/poppler-form.cc | 1 +
utils/pdfsig.cc | 1 +
3 files changed, 3 insertions(+)
diff --git a/poppler/SignatureInfo.cc b/poppler/SignatureInfo.cc
index 7ca8b96..254d42e 100644
--- a/poppler/SignatureInfo.cc
+++ b/poppler/SignatureInfo.cc
@@ -19,6 +19,7 @@
#include <string.h>
#ifdef ENABLE_NSS3
+ #include <prtypes.h>
#include <hasht.h>
#else
static const int HASH_AlgNULL = -1;
diff --git a/qt5/src/poppler-form.cc b/qt5/src/poppler-form.cc
index 02c3a5d..17d4097 100644
--- a/qt5/src/poppler-form.cc
+++ b/qt5/src/poppler-form.cc
@@ -39,6 +39,7 @@
#include <ctype.h>
#ifdef ENABLE_NSS3
+ #include <prtypes.h>
#include <hasht.h>
#endif
diff --git a/utils/pdfsig.cc b/utils/pdfsig.cc
index 8b5182d..2e0ce7d 100644
--- a/utils/pdfsig.cc
+++ b/utils/pdfsig.cc
@@ -19,6 +19,7 @@
#include <stddef.h>
#include <string.h>
#include <time.h>
+#include <prtypes.h>
#include <hasht.h>
#include "parseargs.h"
#include "Object.h"
--
2.13.5