From 86ffa506852a725354310626c95380712daf9459 Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Sun, 13 Nov 2011 14:19:13 +0200 Subject: [PATCH] nss: add workaround for NSS 3.13.x compilation error See also: https://bugzilla.mozilla.org/show_bug.cgi?id=702090 --- src/core/sipe-cert-crypto-nss.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/core/sipe-cert-crypto-nss.c b/src/core/sipe-cert-crypto-nss.c index 6a10a7cb..a9255d94 100755 --- a/src/core/sipe-cert-crypto-nss.c +++ b/src/core/sipe-cert-crypto-nss.c @@ -26,6 +26,15 @@ #include +/* + * Work around a compiler error in NSS 3.13.x. Let's hope they fix it for + * 3.14.x. See also: https://bugzilla.mozilla.org/show_bug.cgi?id=702090 + */ +#include "nss.h" +#if (NSS_VMAJOR == 3) && (NSS_VMINOR == 13) +#define __GNUC_MINOR __GNUC_MINOR__ +#endif + #include "cert.h" #include "cryptohi.h" #include "keyhi.h" -- 2.11.4.GIT