summaryrefslogtreecommitdiffstats
path: root/libtommath
diff options
context:
space:
mode:
authorJan Chadima <jchadima@redhat.com>2010-08-05 18:45:01 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-05 18:45:01 +0200
commitec81bc91006efb7516ad16fd551a290cf634822b (patch)
tree051f81e24e2509e37fae64fd31ddfed0b6a59e5c /libtommath
parent85b4cdcb94355e284c1fff81311b5a039861a01d (diff)
downloadcryptodev-linux-ec81bc91006efb7516ad16fd551a290cf634822b.tar.gz
cryptodev-linux-ec81bc91006efb7516ad16fd551a290cf634822b.tar.xz
cryptodev-linux-ec81bc91006efb7516ad16fd551a290cf634822b.zip
Fix build with recent kernels
Diffstat (limited to 'libtommath')
-rw-r--r--libtommath/bn_mp_clear.c1
-rw-r--r--libtommath/bn_mp_grow.c1
-rw-r--r--libtommath/bn_mp_init.c1
-rw-r--r--libtommath/bn_mp_init_size.c1
-rw-r--r--libtommath/bn_mp_prime_random_ex.c1
-rw-r--r--libtommath/bn_mp_shrink.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/libtommath/bn_mp_clear.c b/libtommath/bn_mp_clear.c
index a65f0a3..05ee8e7 100644
--- a/libtommath/bn_mp_clear.c
+++ b/libtommath/bn_mp_clear.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_CLEAR_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_grow.c b/libtommath/bn_mp_grow.c
index cf2b949..3646c6c 100644
--- a/libtommath/bn_mp_grow.c
+++ b/libtommath/bn_mp_grow.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_GROW_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_init.c b/libtommath/bn_mp_init.c
index 8be27f5..990500b 100644
--- a/libtommath/bn_mp_init.c
+++ b/libtommath/bn_mp_init.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_INIT_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_init_size.c b/libtommath/bn_mp_init_size.c
index 8e01418..ba46d3a 100644
--- a/libtommath/bn_mp_init_size.c
+++ b/libtommath/bn_mp_init_size.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_INIT_SIZE_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_prime_random_ex.c b/libtommath/bn_mp_prime_random_ex.c
index 07aae4b..741bfd1 100644
--- a/libtommath/bn_mp_prime_random_ex.c
+++ b/libtommath/bn_mp_prime_random_ex.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_PRIME_RANDOM_EX_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_shrink.c b/libtommath/bn_mp_shrink.c
index 4b8c5ef..3e38556 100644
--- a/libtommath/bn_mp_shrink.c
+++ b/libtommath/bn_mp_shrink.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_SHRINK_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*