From 9386664543edb5cf9adc17f96044292475010f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 22 Jun 2015 19:21:23 +0200 Subject: [PATCH] Move from inttypes.h to stdint.h Some toolchains do not have inttypes.h, and we only need stdint.h which is a subset of it. --- library/base64.c | 2 +- library/net.c | 2 +- library/ssl_cli.c | 2 +- tests/suites/helpers.function | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/base64.c b/library/base64.c index 3e9454844..ec19e1b92 100644 --- a/library/base64.c +++ b/library/base64.c @@ -34,7 +34,7 @@ #include typedef UINT32 uint32_t; #else -#include +#include #endif #if defined(MBEDTLS_SELF_TEST) diff --git a/library/net.c b/library/net.c index e6dd5dbd8..8dd4c0965 100644 --- a/library/net.c +++ b/library/net.c @@ -83,7 +83,7 @@ static int wsa_init_done = 0; #include typedef UINT32 uint32_t; #else -#include +#include #endif #if defined(MBEDTLS_PLATFORM_C) diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 58ca440f4..e0ffbc605 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c @@ -46,7 +46,7 @@ #include typedef UINT32 uint32_t; #else -#include +#include #endif #if defined(MBEDTLS_HAVE_TIME) diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function index b9f01ade6..ecb5f151f 100644 --- a/tests/suites/helpers.function +++ b/tests/suites/helpers.function @@ -16,7 +16,7 @@ #include typedef UINT32 uint32_t; #else -#include +#include #endif #include