From d33626b89804dcd1d41c97e906e0da69752f302c Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 2 Mar 2016 04:38:52 +0000 Subject: [PATCH] Use correct includes for NSPR/NSS headers The header files provided by NSS3 are inside versioned directories, `$includedir/nss3` and `$includedir/nspr4`, which are provided by the nss3 pkg-config file as include directives for the compiler. We can also use nspr.h as a single entry point, to avoid cherry picking specific headers. https://bugzilla.freedesktop.org/show_bug.cgi?id=94360 --- poppler/SignatureHandler.cc | 2 +- poppler/SignatureHandler.h | 22 +++++++++------------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/poppler/SignatureHandler.cc b/poppler/SignatureHandler.cc index 01496e3..21d9c4d 100644 --- a/poppler/SignatureHandler.cc +++ b/poppler/SignatureHandler.cc @@ -15,7 +15,7 @@ #include "SignatureHandler.h" #include "goo/gmem.h" -#include +#include #include #include diff --git a/poppler/SignatureHandler.h b/poppler/SignatureHandler.h index e6ace24..8e2a4da 100644 --- a/poppler/SignatureHandler.h +++ b/poppler/SignatureHandler.h @@ -17,21 +17,17 @@ #include "SignatureInfo.h" /* NSPR Headers */ -#include -#include -#include -#include -#include +#include /* NSS headers */ -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include class SignatureHandler { -- 2.5.0