From 4573d2810b0bbe203072da39ecdc6cfbd9c6bdec Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 8 Aug 2022 00:12:57 +0200 Subject: [PATCH] coap: define HAVE_INTTYPES_H to avoid PRIu32 redifinition --- coap/idf_component.yml | 2 +- coap/port/include/coap_config.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/coap/idf_component.yml b/coap/idf_component.yml index 24a5eb0..5287e79 100644 --- a/coap/idf_component.yml +++ b/coap/idf_component.yml @@ -1,4 +1,4 @@ -version: "4.3.1-rc.1" +version: "4.3.1~1-rc.1" description: Constrained Application Protocol (CoAP) C Library url: https://github.com/espressif/idf-extra-components/tree/master/coap dependencies: diff --git a/coap/port/include/coap_config.h b/coap/port/include/coap_config.h index 60c77f9..bf4de3b 100644 --- a/coap/port/include/coap_config.h +++ b/coap/port/include/coap_config.h @@ -27,6 +27,7 @@ #define HAVE_STDIO_H #define HAVE_ASSERT_H +#define HAVE_INTTYPES_H #define PACKAGE_STRING PACKAGE_NAME PACKAGE_VERSION