From d5e4d0651f9ecc8e7e4110f080a862746d9baa0a Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 14 Mar 2016 13:43:54 +0100 Subject: [PATCH 5/5] Fix includes to compile without deprecated glibc functions Signed-off-by: Thorsten Kukuk --- src/des_impl.c | 3 ++- tirpc/rpc/des.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/des_impl.c b/src/des_impl.c index c5b7ed6..9dbccaf 100644 --- a/src/des_impl.c +++ b/src/des_impl.c @@ -6,7 +6,8 @@ /* see to obtain a copy. */ #include #include -#include +#include +#include static const uint32_t des_SPtrans[8][64] = diff --git a/tirpc/rpc/des.h b/tirpc/rpc/des.h index d2881ad..018aa48 100644 --- a/tirpc/rpc/des.h +++ b/tirpc/rpc/des.h @@ -82,6 +82,6 @@ struct desparams { /* * Software DES. */ -extern int _des_crypt( char *, int, struct desparams * ); +extern int _des_crypt( char *, unsigned, struct desparams * ); #endif -- 1.8.5.6