python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / mcrypt / malloc_to_stdlib.patch
blob6bead60dc56b8af1eed8ad2ab530dfd2bdb7a9da
1 From e295844e8ef5c13487996ab700e5f12a7fadb1a6 Mon Sep 17 00:00:00 2001
2 From: Private <private@private.priv>
3 Date: Wed, 30 Dec 2020 16:06:46 -0800
4 Subject: [PATCH] malloc.h to stdlib.h in rfc2440.c
6 The malloc.h is deprecated and should not be used
7 ---
8 src/rfc2440.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/src/rfc2440.c b/src/rfc2440.c
12 index 5a1f296..4d6a5db 100644
13 --- a/src/rfc2440.c
14 +++ b/src/rfc2440.c
15 @@ -23,7 +23,7 @@
16 #include <zlib.h>
17 #endif
18 #include <stdio.h>
19 -#include <malloc.h>
20 +#include <stdlib.h>
22 #include "xmalloc.h"
23 #include "keys.h"
24 --
25 2.13.5