From 6621987e1ce7d478e25953dd8d24c13a69675c63 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Sun, 22 Jan 2012 20:38:13 +0000
Subject: [PATCH] - Made better fix to issue of defined long long type for
bignum code
---
include/polarssl/bignum.h | 1 +
include/polarssl/bn_mul.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/polarssl/bignum.h b/include/polarssl/bignum.h
index 9afc948d0..ad033084c 100644
--- a/include/polarssl/bignum.h
+++ b/include/polarssl/bignum.h
@@ -104,6 +104,7 @@ typedef unsigned long t_udbl;
(defined(__sparc__) && defined(__arch64__)) || \
defined(__s390x__) )
typedef unsigned int t_udbl __attribute__((mode(TI)));
+ #define POLARSSL_HAVE_LONGLONG
#else
#if defined(POLARSSL_HAVE_LONGLONG)
typedef unsigned long long t_udbl;
diff --git a/include/polarssl/bn_mul.h b/include/polarssl/bn_mul.h
index f278dd04e..a6a2c65fb 100644
--- a/include/polarssl/bn_mul.h
+++ b/include/polarssl/bn_mul.h
@@ -41,7 +41,7 @@
#ifndef POLARSSL_BN_MUL_H
#define POLARSSL_BN_MUL_H
-#include "config.h"
+#include "bignum.h"
#if defined(POLARSSL_HAVE_ASM)