aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-crypt-rijndael/use-stdint_h.patch
blob: 76471bee9a1ab6c2808c457d4b5ee1d82f606604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Only in Crypt-Rijndael-1.11: Rijndael.o
Only in Crypt-Rijndael-1.11: _rijndael.o
Only in Crypt-Rijndael-1.11: blib/arch/auto/Crypt/Rijndael/Rijndael.so
Only in Crypt-Rijndael-1.11: blib/man3/Crypt::Rijndael.3
--- Crypt-Rijndael-1.11.orig/rijndael.h
+++ Crypt-Rijndael-1.11/rijndael.h
@@ -72,6 +72,11 @@
 	typedef u_char    UINT8;
 #endif
 
+#include <stdint.h>
+#define _CRYPT_RIJNDAEL_H_TYPES
+typedef uint32_t UINT32;
+typedef uint8_t  UINT8;
+
 /* I expect this to be the usual case */
 #if ! defined(_CRYPT_RIJNDAEL_H_TYPES) && ( defined(_SYS_TYPES_H) || defined(_SYS_TYPES_H_) )   
 	#define _CRYPT_RIJNDAEL_H_TYPES