File unrarsrc-3.8-types.patch of Package unrar
--- rartypes.hpp
+++ rartypes.hpp
@@ -1,12 +1,13 @@
#ifndef _RAR_TYPES_
#define _RAR_TYPES_
+#include<stdint.h>
typedef unsigned char byte; //8 bits
-typedef unsigned short ushort; //preferably 16 bits, but can be more
+typedef uint16_t ushort; //preferably 16 bits, but can be more
typedef unsigned int uint; //32 bits or more
-typedef unsigned int uint32; //32 bits exactly
-typedef int sint32; //signed 32 bits exactly
+typedef uint32_t uint32; //32 bits exactly
+typedef int32_t sint32; //signed 32 bits exactly
#define PRESENT_INT32
#if defined(_WIN_32) || defined(__GNUC__) || defined(__sgi) || defined(_AIX) || defined(__sun) || defined(__hpux)