diff --git a/include/polarssl/camellia.h b/include/polarssl/camellia.h index 9bf5e91f5f..3f2e6a754f 100644 --- a/include/polarssl/camellia.h +++ b/include/polarssl/camellia.h @@ -19,8 +19,13 @@ */ #ifndef POLARSSL_CAMELLIA_H #define POLARSSL_CAMELLIA_H - -#include + +#ifdef _MSC_VER +#include +typedef UINT32 uint32_t; +#else +#include +#endif #define CAMELLIA_ENCRYPT 1 #define CAMELLIA_DECRYPT 0 diff --git a/include/polarssl/xtea.h b/include/polarssl/xtea.h index 45f7547665..fe16ba3e98 100644 --- a/include/polarssl/xtea.h +++ b/include/polarssl/xtea.h @@ -20,7 +20,12 @@ #ifndef POLARSSL_XTEA_H #define POLARSSL_XTEA_H -#include +#ifdef _MSC_VER +#include +typedef UINT32 uint32_t; +#else +#include +#endif #define XTEA_ENCRYPT 1 #define XTEA_DECRYPT 0