ext: lib: tinycbor: fix half-FP feature compilation
half-FP feature requires <math.h> form newlib_libc. It was include wrongly by default. This path fix conduction for related include directive. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
parent
ca1cb05438
commit
00f6fc9643
|
@ -41,7 +41,7 @@ extern "C" {
|
|||
# include <assert.h>
|
||||
#endif
|
||||
#include <float.h>
|
||||
#ifndef CBOR_NO_FLOATING_TYPE
|
||||
#ifndef CBOR_NO_HALF_FLOAT_TYPE
|
||||
#include <math.h>
|
||||
#endif
|
||||
#include <stddef.h>
|
||||
|
|
Loading…
Reference in a new issue