summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc/xmlsec-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/inc/xmlsec-wrapper.h')
-rw-r--r--xmlsecurity/inc/xmlsec-wrapper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlsecurity/inc/xmlsec-wrapper.h b/xmlsecurity/inc/xmlsec-wrapper.h
index 7c6d267e8b73..e4048de94bf2 100644
--- a/xmlsecurity/inc/xmlsec-wrapper.h
+++ b/xmlsecurity/inc/xmlsec-wrapper.h
@@ -23,6 +23,11 @@
#include <sal/types.h>
+// Cf. xmlsec's configure.in:
+#if SAL_TYPES_SIZEOFPOINTER != 4 && !defined SYSTEM_XMLSEC
+#define XMLSEC_NO_SIZE_T
+#endif
+
#include <xmlsec/base64.h>
#include <xmlsec/bn.h>
#include <xmlsec/errors.h>