tinydtls: fix issue on u_intXX_t being undefined when building with musl
commit07552de23b95b48412be89ca5c162d8855872206
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 28 Aug 2016 21:57:11 +0000 (28 23:57 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 29 Aug 2016 15:23:41 +0000 (29 17:23 +0200)
tree5b311aa890a99793f5f5d798e2b5010db06b59f5
parentf7d7db2469d5dc32237efecefed7681624d5a465
tinydtls: fix issue on u_intXX_t being undefined when building with musl

Fixes:
  http://autobuild.buildroot.net/results/928be69f90476e6b04be3a1afd3b74112bcac0a0

As mentioned in sha2/README, by default, tinydtls uses u_intXX_t data types
for 8 bit, 32 bit, and 64 bit unsigned integer type definitions.  To use
uintXX_t data types as defined by recent ANSI C standards and as included in
the inttypes.h header file, SHA2_USE_INTTYPES_H has to be define at compile
time.

[Peter: reword/simplify]
Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tinydtls/tinydtls.mk