From 02416dc7f8f713f9d72967b67f497333c91a7dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 30 Jun 2014 00:35:36 +0200 Subject: [PATCH] camellia: Include limits.h, needed for HAVE_NATIVE_64_BIT. --- ChangeLog | 9 ++++++++- camellia-absorb.c | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 17b8a553..101dbbfe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-06-30 Niels Möller <nisse@lysator.liu.se> + + * camellia-absorb.c: Include <limits.h>, needed for correct use of + HAVE_NATIVE_64_BIT. Reported and debugged by Magnus Holmgren. + Fixes debian build failure on s390x. + 2014-06-26 Niels Möller <nisse@lysator.liu.se> From Martin Storsjö: @@ -15,7 +21,8 @@ 2014-06-25 Niels Möller <nisse@lysator.liu.se> - Support for building with mini-gmp instead of the real GMP. + Support for building with mini-gmp instead of the real GMP. Loosely + based on work by Nikos Mavrogiannopoulos. * configure.ac: New command line option --enable-mini-gmp. Also disable all libgmp-related checks when enabled. (NETTLE_USE_MINI_GMP): New substituted variable. diff --git a/camellia-absorb.c b/camellia-absorb.c index 09627fe6..d865dc6d 100644 --- a/camellia-absorb.c +++ b/camellia-absorb.c @@ -47,6 +47,9 @@ # include "config.h" #endif +/* For CHAR_BIT, needed by HAVE_NATIVE_64_BIT */ +#include <limits.h> + #include "camellia-internal.h" #include "macros.h" -- GitLab