summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-04-01 19:53:33 +0300
committerMiklos Vajna <vmiklos@collabora.com>2020-04-02 09:54:26 +0200
commite946e8f2280a5955a7fe6f8035d7ffad6862a6b3 (patch)
tree14ff3d59e2c055c5bc945a3e1e5ab809f8ee2e22 /xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
parentf96ce4da54200dc06d995c82cc1834c0d06241b9 (diff)
xmlsec-wrapper.h must be included before any xmlsec header
This fixes structs size mismatch between xmlsec and its users because of XMLSEC_NO_SIZE_T not yet defined at the time of their definition. See https://lists.freedesktop.org/archives/libreoffice/2020-April/084800.html Change-Id: I8de9a012f849d9a5a84f5ce580484b66192d1e06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91531 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx')
-rw-r--r--xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
index f11a3680f2ea..3b4e138aebee 100644
--- a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
+++ b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
+#include <xmlsec-wrapper.h>
#include <cppuhelper/supportsservice.hxx>
#include <gpg/xmlsignature_gpgimpl.hxx>
@@ -41,7 +42,6 @@
#include <xmlsec/errorcallback.hxx>
#include "SecurityEnvironment.hxx"
-#include <xmlsec-wrapper.h>
using namespace css::uno;
using namespace css::lang;