From 4d3ac96c0aaef95da221ac9f8bcc70eafe320833 Mon Sep 17 00:00:00 2001 From: M0Rf30 Date: Wed, 21 Jun 2023 13:50:27 +0200 Subject: [PATCH] chore: podofo use only one header --- libs/meson.build | 4 ++-- libs/sign-sdk/include/PdfSignatureGenerator.h | 5 +---- libs/sign-sdk/include/PdfVerifier.h | 2 -- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/libs/meson.build b/libs/meson.build index 1f1915a6..c20be19c 100644 --- a/libs/meson.build +++ b/libs/meson.build @@ -21,9 +21,9 @@ libxml2_dep = dependency('libxml-2.0', required: false) xml2_dep = dependency('xml2', required: false) zlib_dep = dependency('zlib') -inc_so = include_directories('pkcs11/src/.', 'shared/src/', '/usr/include/podofo-0.9') +inc_so = include_directories('pkcs11/src/.', 'shared/src/') -inc_a = include_directories('sign-sdk/include', 'sign-sdk/src', 'shared/src/', '/usr/include/podofo-0.9') +inc_a = include_directories('sign-sdk/include', 'sign-sdk/src', 'shared/src/') cie_pkcs11_sources = [ 'shared/src/Util/log.cpp', diff --git a/libs/sign-sdk/include/PdfSignatureGenerator.h b/libs/sign-sdk/include/PdfSignatureGenerator.h index 25ff6774..13437452 100644 --- a/libs/sign-sdk/include/PdfSignatureGenerator.h +++ b/libs/sign-sdk/include/PdfSignatureGenerator.h @@ -9,10 +9,7 @@ #ifndef _PDFSIGNATUREGENERATOR_H_ #define _PDFSIGNATUREGENERATOR_H_ -#include -#include -#include -#include + #include #include "Util/UUCByteArray.h" diff --git a/libs/sign-sdk/include/PdfVerifier.h b/libs/sign-sdk/include/PdfVerifier.h index e4ae9838..fe25142e 100644 --- a/libs/sign-sdk/include/PdfVerifier.h +++ b/libs/sign-sdk/include/PdfVerifier.h @@ -10,8 +10,6 @@ #ifndef _PDFVERIFIER_H_ #define _PDFVERIFIER_H_ -#include -#include #include #include "Util/UUCByteArray.h"